]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/filed-crypto-test
Updates
[bacula/bacula] / regress / tests / filed-crypto-test
index 19037d8a01e59398c2c75a49772b2aeac4b41f0d..7f816eeb2a671df5ace3344c9ef92264a8da8d8e 100755 (executable)
@@ -31,10 +31,13 @@ run job=NightlySave yes
 wait
 messages
 @# 
-@# now do a verify volume
+@# now do a restore
 @#
-@$out ${cwd}/tmp/original
-run job=VerifyVolume
+@$out tmp/log2.out
+restore where=${cwd}/tmp/bacula-restores storage=File
+5
+mark *
+
 yes
 wait
 messages
@@ -55,7 +58,7 @@ scripts/check_for_zombie_jobs storage=File
 bin/bacula stop 2>&1 >/dev/null
 grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
 bstat=$?
-grep "^  Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null
+grep "^  Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null
 if [ $? != 0 -o $bstat != 0 ] ; then
    echo " "
    echo " "
@@ -70,7 +73,7 @@ if [ $? != 0 -o $bstat != 0 ] ; then
    fi
    echo " "
 else
-   echo "  ===== Filed Encryption Verification Test OK ===== "
-   echo "  ===== Filed Encryption Verification Test OK ===== " >>test.out
+   echo "  ===== Filed Encryption Verification Test OK `date +%R:%S` ===== "
+   echo "  ===== Filed Encryption Verification Test OK `date +%R:%S` ===== " >>test.out
    scripts/cleanup
 fi