Simple status monitor for CSC systems
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.
|
#!/bin/bash
|
|
|
|
fail=0
|
|
for i in "`dirname $0`"/tests.d/*; do
|
|
$i
|
|
if [ $? -ne 0 ]; then
|
|
echo "FAIL: `basename $i`"
|
|
fail=1
|
|
elif [ "$1" == "-v" ]; then
|
|
echo "Pass: $i"
|
|
fi
|
|
done
|
|
|
|
exit $fail
|
|
|