From: Eric Bollengier Date: Tue, 23 Feb 2021 09:07:26 +0000 (+0100) Subject: regress: Add Offset+Compression+Verification test to offset-test script X-Git-Tag: Release-11.0.2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d0c66a4e0ca2f7589c6e6c39778e9b58c68cc5;p=thirdparty%2Fbacula.git regress: Add Offset+Compression+Verification test to offset-test script --- diff --git a/regress/tests/offset-test b/regress/tests/offset-test index 1aedc9aee..c299e590a 100755 --- a/regress/tests/offset-test +++ b/regress/tests/offset-test @@ -99,8 +99,12 @@ m configure done yes wait -setdebug level=0 client=$CLIENT trace=0 messages +@$out $tmp/log3.out +run job=VerifyVolume jobid=2 storage=File1 yes +wait +messages +setdebug level=0 client=$CLIENT trace=0 quit END_OF_DATA @@ -132,4 +136,10 @@ if [ "$nb" -eq 0 ]; then estat=1 fi +grep "Verify OK" $tmp/log3.out > /dev/null +if [ $? != 0 ]; then + print_debug "ERROR: Found error in verify job status in $tmp/log3.out" + vstat=1 +fi + end_test