]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/sparse-test
Final changes
[bacula/bacula] / regress / tests / sparse-test
index 40c84b83b06dfa6b904f0ec1f1f1267652c15e8d..c1c7328bd62b12803e0df32bc0ddcd48d32df56c 100755 (executable)
@@ -7,12 +7,6 @@ cwd=`pwd`
 scripts/copy-test-confs
 scripts/cleanup
 echo "${cwd}/build" >/tmp/file-list
-bin/bacula stop 2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
 
 echo " "
 echo " "
@@ -55,6 +49,13 @@ if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
    echo " "
    echo "  !!!!! sparse-test Bacula source failed!!! !!!!! "
    echo "  !!!!! sparse-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 "  ===== sparse-test Bacula source OK ===== "