From 5e0f7ed552b48ad0f6e46aee3251a7e0635f68ce Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 2 Nov 2017 16:35:41 +0100 Subject: [PATCH] regress: Fix truncate-test with FORCE_CLOUD=yes --- regress/tests/truncate-test | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 @######################################################### -- 2.39.5