From d9c4b702e75ae565f7a4664e835a6e53c0675763 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 27 Oct 2011 12:28:47 +0100 Subject: [PATCH] test-virt-sparsify: Relax size_after constraint (for Debian). size_after on Debian was 10136K. The host filesystem was ext3 (vs ext4 for Fedora where we did the original testing). Probably indirect blocks (vs more efficient extents on ext4) causes the difference, although I did not look at it in detail. --- sparsify/test-virt-sparsify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparsify/test-virt-sparsify.sh b/sparsify/test-virt-sparsify.sh index 4a054db..1fad58b 100755 --- a/sparsify/test-virt-sparsify.sh +++ b/sparsify/test-virt-sparsify.sh @@ -49,7 +49,7 @@ if [ $size_before -lt 310000 ]; then exit 1 fi -if [ $size_after -gt 5000 ]; then +if [ $size_after -gt 15000 ]; then echo "test virt-sparsify: size_after ($size_after) too large" echo "sparsification failed" exit 1 -- 1.8.3.1