git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4985
91ce42f0-d328-0410-95d8-
f526ca767f89
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
check_two_logs
# The restore should read from TestVolume002, which was on drive 1
-grep tmp/log2.out TestVolume002
+grep TestVolume002 tmp/log2.out >/dev/null 2>&1
+# Note rstat may already be set, so we don't just store into it
if [ $? != 0 ] ; then
rstat=$?
fi