]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add Offset+Compression+Verification test to offset-test script
authorEric Bollengier <eric@baculasystems.com>
Tue, 23 Feb 2021 09:07:26 +0000 (10:07 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:28 +0000 (09:03 +0100)
regress/tests/offset-test

index 49b049ca38f1c3c56e058da7c772242b734ec9a3..43965c8cd7bbf91ab2f64f488ddae4e29e099204 100755 (executable)
@@ -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