From 19a1a11f305c36bbd2005afefc69c6cfd359bfe5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 8 Oct 2023 01:12:59 -0500 Subject: [PATCH] Storing nothing on ecryptfs wastes more space than expected. --- tests/truncate.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/truncate.test b/tests/truncate.test index 2bb08280..25630d42 100755 --- a/tests/truncate.test +++ b/tests/truncate.test @@ -13,7 +13,7 @@ testing "1m" "truncate -s 1m freep $SIZE" "1048576\n" "" "" # is a bit weird; for some file sizes (12345, in this example) blocks will # have been allocated that aren't deallocated by the 1g extension. rm freep; touch freep -testing "is sparse" "truncate -s 1g freep && [ $(stat -c %b freep) -le 8 ] && +testing "is sparse" "truncate -s 1g freep && [ $(stat -c %b freep) -le 64 ] && echo okay" \ "okay\n" "" "" testing "+" "truncate -s 1k freep && truncate -s +1k freep $SIZE" \ -- 2.39.2