git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e077743
)
test-virt-sparsify: Relax size_after constraint (for Debian).
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 27 Oct 2011 11:28:47 +0000
(12:28 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 27 Oct 2011 11:28:47 +0000
(12:28 +0100)
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
patch
|
blob
|
history
diff --git
a/sparsify/test-virt-sparsify.sh
b/sparsify/test-virt-sparsify.sh
index
4a054db
..
1fad58b
100755
(executable)
--- 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
1
5000 ]; then
echo "test virt-sparsify: size_after ($size_after) too large"
echo "sparsification failed"
exit 1