]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/bsr-opt-test
Final changes
[bacula/bacula] / regress / tests / bsr-opt-test
index 7736ae1006c47a6b235cee35f9c5f149c947f7bf..74002e23a4b3433338d6abe6f9569fd0dc0a7085 100755 (executable)
@@ -63,6 +63,16 @@ if [ $? != 0 -o $bsrstat != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
    echo " "
    echo "  !!!!! bsr-opt-test Bacula source failed!!! !!!!! "
    echo "  !!!!! bsr-opt-test failed!!! !!!!! " >>test.out
+   if [ $bstat != 0 -o $rstat != 0 ] ; then
+      echo "  !!!!! Bad Job termination status     !!!!! "
+      echo "  !!!!! Bad Job termination status     !!!!! " >>test.out
+   elif [ $bsrstat != 0 ] ; then
+      echo "  !!!!! Volume selection error         !!!!! "
+      echo "  !!!!! Volume selection error         !!!!! " >>test.out
+   else
+      echo "  !!!!! Restored files differ          !!!!! "
+      echo "  !!!!! Restored files differ          !!!!! " >>test.out
+   fi
    echo " "
 else
    echo "  ===== bsr-opt-test Bacula source OK ===== "