]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/bsr-opt-test
update
[bacula/bacula] / regress / tests / bsr-opt-test
index 9413a8c081fcbd344020433bb8ac0e33c8e0098e..068ae1092734c2b7e1826831bd630f3d2edb88cd 100755 (executable)
@@ -31,6 +31,7 @@ messages
 @# now do a restore
 @#
 @$out ${cwd}/tmp/log2.out
+setdebug level=150 storage=File1
 restore bootstrap=${cwd}/working/restore.bsr where=${cwd}/tmp/bacula-restores select storage=File1
 unmark *
 cd ${cwd}/build/src/cats
@@ -73,6 +74,7 @@ if [ $? != 0 -o $bsrstat != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
       echo "  !!!!! Restored files differ          !!!!! " >>test.out
    fi
    echo " "
+   exit 1
 else
    echo "  ===== bsr-opt-test Bacula source OK `date +%R:%S` ===== "
    echo "  ===== bsr-opt-test OK `date +%R:%S` ===== " >>test.out