X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Ffiled-crypto-test;h=7f816eeb2a671df5ace3344c9ef92264a8da8d8e;hb=513fb27c6ae7faf0be67bc68e3d7d3e326a3da84;hp=19037d8a01e59398c2c75a49772b2aeac4b41f0d;hpb=689f5f6ff60afffb4f602789d75d91efb8a776c0;p=bacula%2Fbacula diff --git a/regress/tests/filed-crypto-test b/regress/tests/filed-crypto-test index 19037d8a01..7f816eeb2a 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 " " @@ -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