From: Richard W.M. Jones Date: Thu, 27 Oct 2011 11:28:47 +0000 (+0100) Subject: test-virt-sparsify: Relax size_after constraint (for Debian). X-Git-Tag: 1.14.0~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=d9c4b702e75ae565f7a4664e835a6e53c0675763;p=libguestfs.git 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. --- 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