summaryrefslogtreecommitdiffstats
path: root/sparsify
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-27 12:28:47 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-27 12:28:47 +0100
commitd9c4b702e75ae565f7a4664e835a6e53c0675763 (patch)
tree465ce08620636398b73211e38bf09bae46708b8a /sparsify
parente07774344208c9ee4e32d35061ba67591e4c441f (diff)
downloadlibguestfs-d9c4b702e75ae565f7a4664e835a6e53c0675763.tar.gz
libguestfs-d9c4b702e75ae565f7a4664e835a6e53c0675763.tar.xz
libguestfs-d9c4b702e75ae565f7a4664e835a6e53c0675763.zip
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.
Diffstat (limited to 'sparsify')
-rwxr-xr-xsparsify/test-virt-sparsify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sparsify/test-virt-sparsify.sh b/sparsify/test-virt-sparsify.sh
index 4a054dba..1fad58b0 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