From: Eric Bollengier Date: Thu, 2 Nov 2017 15:35:41 +0000 (+0100) Subject: regress: Fix truncate-test with FORCE_CLOUD=yes X-Git-Tag: Release-9.0.6~49 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5e0f7ed552b48ad0f6e46aee3251a7e0635f68ce;p=bacula%2Fbacula regress: Fix truncate-test with FORCE_CLOUD=yes --- diff --git a/regress/tests/truncate-test b/regress/tests/truncate-test index a5b1aa7fab..79ef88da5c 100755 --- a/regress/tests/truncate-test +++ b/regress/tests/truncate-test @@ -79,7 +79,14 @@ label storage=File volume=TestVolume005 run level=full job=$JobName yes wait messages -@$out $tmp/log6.out +@$out $tmp/log7.out +@######################################################### +@# test that we cannot truncate a volume that is not purged +@######################################################### +@exec "du -s -b $tmp/TestVolume001" +truncate volume=TestVolume001 storage=File +@exec "du -s -b $tmp/TestVolume001" +messages @######################################################### @# tests @#########################################################