diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-06-08 13:23:33 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-23 10:29:47 +0100 |
commit | bfe852486224d604c259b362bc4c952cc934ef0b (patch) | |
tree | 58f93d96ce45d95cdbef8a4ee839fa8d6a492ff4 /tests/qemu-iotests/015 | |
parent | 25bb8a365a5388fa22a5be5de65534801a3e7315 (diff) |
qemu-iotests: Update filter for default cluster size
Until recently, qemu-img create displayed cluster_size=0 for the default
cluster size. It is changed to display the real cluster size now, which results
in the cluster size not being filtered out any more.
If the cluster size is specified explicitly in CLUSTER_SIZE, keep the output,
and if using the default, filter it out. This mostly restores the old behaviour
of the test cases; test 015 must be fixed to use CLUSTER_SIZE instead of using
extra_img_options for it.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tests/qemu-iotests/015')
-rwxr-xr-x | tests/qemu-iotests/015 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/015 b/tests/qemu-iotests/015 index bdafd26293..44c134f948 100755 --- a/tests/qemu-iotests/015 +++ b/tests/qemu-iotests/015 @@ -56,7 +56,8 @@ echo "creating image" # for the refcount table. On the other hand this is big enough to cause a # refcount table growth when rewriting the image after creating one snapshot. size=36M -_make_test_img -o cluster_size=1k $size +CLUSTER_SIZE=1k +_make_test_img $size # Create two snapshots which fill the image with two different patterns echo "creating first snapshot" |