]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/restore-by-file-test
Final changes
[bacula/bacula] / regress / tests / restore-by-file-test
index 2740ea56c6285c1df76f02327afcadbdb0924d5d..9ee99589504d999fccd935ec4b056e07ac8d3de9 100755 (executable)
@@ -57,6 +57,13 @@ if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
    echo " "
    echo "  !!!!! restore-by-file-test Bacula source failed!!! !!!!! "
    echo "  !!!!! restore-by-file-test failed!!! !!!!! " >>test.out
+   if [ $bstat != 0 -o $rstat != 0 ] ; then
+      echo "  !!!!! Bad Job termination status     !!!!! "
+      echo "  !!!!! Bad Job termination status     !!!!! " >>test.out
+   else
+      echo "  !!!!! Restored files differ          !!!!! "
+      echo "  !!!!! Restored files differ          !!!!! " >>test.out
+   fi
    echo " "
 else
    echo "  ===== restore-by-file-test Bacula source OK ===== "