]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/bsr-opt-test
regress: add function to create many dirs
[bacula/bacula] / regress / tests / bsr-opt-test
index 9413a8c081fcbd344020433bb8ac0e33c8e0098e..d76e7736572c2451bb3c6c2f46c7696f9c8d98f9 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
@@ -40,7 +41,6 @@ done
 yes
 wait
 messages
-@$out
 quit
 END_OF_DATA
 
@@ -73,6 +73,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