diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-10-01 14:29:59 -0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-22 16:17:02 +0100 |
commit | 8fc1024ceec96d2ec2d2a0296220075e06a6c756 (patch) | |
tree | 36933fcfcb4467e39a8122e890189c44d0b739dc /tests/qemu-iotests/019.out | |
parent | 3b5fe6e60c4e2d4b47425ba967a48cd216efd6f8 (diff) |
qemu-iotests: align test requests according to cluster size
Change the io_test and io_test2 functions to take the cluster size of the image
and the number of test requests to issue. Tests are changed to specify a
cluster size (usually 4k), but expected test results stay the same for now
(apart from qemu-img printing the cluster size now).
Based on a patch written by Christoph Hellwig.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tests/qemu-iotests/019.out')
-rw-r--r-- | tests/qemu-iotests/019.out | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/019.out b/tests/qemu-iotests/019.out index 9ac1a21c69..ef82d02531 100644 --- a/tests/qemu-iotests/019.out +++ b/tests/qemu-iotests/019.out @@ -1,5 +1,5 @@ QA output created by 019 -Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 cluster_size=65536 Filling base image === IO: pattern 0 @@ -269,7 +269,7 @@ qemu-io> wrote 65536/65536 bytes at offset 4296081408 qemu-io> No errors were found on the image. Creating test image with backing file -Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 backing_file='TEST_DIR/t.IMGFMT.base' +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 backing_file='TEST_DIR/t.IMGFMT.base' cluster_size=65536 Filling test image === IO: pattern 1 |