]> git.sur5r.net Git - bacula/bacula/commitdiff
Use a restore, not a verify
authorLandon Fuller <landonf@opendarwin.org>
Mon, 9 Jan 2006 02:18:54 +0000 (02:18 +0000)
committerLandon Fuller <landonf@opendarwin.org>
Mon, 9 Jan 2006 02:18:54 +0000 (02:18 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2729 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/filed-crypto-test

index 19037d8a01e59398c2c75a49772b2aeac4b41f0d..8cf9eb39cfabb42d2c3ecb7fad32cf44fa42d134 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 " "