echo " "
}
+require_root()
+{
+MUID=`/usr/bin/id | awk -F= '{print $2}' | awk -F\( '{print $1}'`
+if [ $MUID != 0 ] ; then
+ echo " "
+ echo "You must be root to run this test."
+ echo " ===== !!!! $TestName not run at `date +%R:%S` ==="
+ echo " ===== !!!! $TestName not run at `date +%R:%S` !!!! ===== " >>test.out
+ echo " "
+ exit 1
+fi
+}
+
+
set_debug()
{
debug=$1
check_for_zombie_jobs()
{
- scripts/check_for_zombie_jobs $1
+ scripts/check_for_zombie_jobs $*
}
change_jobname()
if [ $bstat != 0 -o $rstat != 0 ] ; then
echo " !!!!! Bad Job termination status !!!!! "
echo " !!!!! Bad Job termination status !!!!! " >>test.out
+ echo " bstat=$bstat rstat=$rstat dstat=$dstat"
else
echo " !!!!! Restored files differ !!!!! "
echo " !!!!! Restored files differ !!!!! " >>test.out
+ echo " bstat=$bstat rstat=$rstat dstat=$dstat"
fi
echo " "
else
set_debug 0
fi
-# Source the second drive variables
-touch ${cwd}/config.out
-. ${cwd}/config.out
+# Source the configuration variables
+. ${cwd}/config