From: Landon Fuller Date: Mon, 9 Jan 2006 02:18:54 +0000 (+0000) Subject: Use a restore, not a verify X-Git-Tag: Release-1.38.4~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6568e1b85ac9d056f387203790f02637b03b8416;p=bacula%2Fbacula Use a restore, not a verify git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2729 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/filed-crypto-test b/regress/tests/filed-crypto-test index 19037d8a01..8cf9eb39cf 100755 --- a/regress/tests/filed-crypto-test +++ b/regress/tests/filed-crypto-test @@ -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 " "