]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/two-vol-test
Use new restore command args
[bacula/bacula] / regress / tests / two-vol-test
index de926bf6a59ab566b06180b794bde74688b51c3f..d4795a5057c8abc973a482ea9e2c5806039ecffe 100755 (executable)
@@ -38,9 +38,7 @@ messages
 @# now do a restore
 @#
 @output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores
-5
-done
+restore where=${cwd}/tmp/bacula-restores current all
 yes
 wait
 messages
@@ -56,8 +54,8 @@ diff -r build  tmp/bacula-restores${cwd}/build
 if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
    echo " "
    echo " "
-   echo "  ===== two-vol-test Bacula source failed!!! ===== "
-   echo "  ===== two-vol-test failed!!! ===== " >>test.out
+   echo "  !!!!! two-vol-test Bacula source failed!!! !!!!! "
+   echo "  !!!!! two-vol-test failed!!! !!!!! " >>test.out
    echo " "
 else
    echo "  ===== two-vol-test Bacula source OK ===== "