You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
16 lines
348 B
1 year ago
|
#!/bin/bash
|
||
|
# Author: Iain Douglas <centos@1n6.org.uk>
|
||
|
|
||
|
t_Log "Running $0 test rootfiles exist"
|
||
|
|
||
|
#
|
||
|
# Simply test that the files in the package exist in /root
|
||
|
#
|
||
|
|
||
|
for file in .bash_logout .bash_profile .bashrc .cshrc .tcshrc
|
||
|
do
|
||
|
echo "Checking $file"
|
||
|
[ -e /root/$file ] || { t_Log "FAIL: $file is missing"; exit $FAIL; }
|
||
|
t_Log "PASS"
|
||
|
done
|