summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/013
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/013')
-rwxr-xr-xtests/qemu-iotests/0139
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/qemu-iotests/013 b/tests/qemu-iotests/013
index 565071fd91..bd9fdefaf9 100755
--- a/tests/qemu-iotests/013
+++ b/tests/qemu-iotests/013
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# qcow2 pattern test, empty and compressed image
+# qcow2 pattern test, empty and compressed image - 4k cluster patterns
#
# Copyright (C) 2009 Red Hat, Inc.
#
@@ -45,6 +45,7 @@ _supported_os Linux
TEST_OFFSETS="0 4294967296"
TEST_OPS="writev read write readv"
+CLUSTER_SIZE=4096
_make_test_img 6G
@@ -54,7 +55,7 @@ echo
for offset in $TEST_OFFSETS; do
echo "At offset $offset:"
for op in $TEST_OPS; do
- io_test $op $offset
+ io_test $op $offset $CLUSTER_SIZE 8
done
_check_test_img
done
@@ -72,7 +73,7 @@ echo
for offset in $TEST_OFFSETS; do
echo "With offset $offset:"
for op in read readv; do
- io_test $op $offset
+ io_test $op $offset $CLUSTER_SIZE 8
done
_check_test_img
done
@@ -85,7 +86,7 @@ for offset in $TEST_OFFSETS; do
offset=$((offset + 512))
echo "With offset $offset:"
for op in $TEST_OPS; do
- io_test $op $offset
+ io_test $op $offset $CLUSTER_SIZE 8
done
_check_test_img
done