diff options
author | Max Reitz <mreitz@redhat.com> | 2013-09-13 10:37:12 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-09-13 12:02:33 +0200 |
commit | c21bddf27fd8029890e9fc2ee314788919eababf (patch) | |
tree | dda79ee146d1c4762b06e66fa63f909feca416e1 /tests/qemu-iotests/038 | |
parent | aa3fe714f70654da47d9c2659b2d9ee295a9d930 (diff) | |
download | hqemu-c21bddf27fd8029890e9fc2ee314788919eababf.zip hqemu-c21bddf27fd8029890e9fc2ee314788919eababf.tar.gz |
qemu-iotests: Fix test 038
Test 038 uses asynchronous I/O, resulting (potentially) in a different
output for every run (regarding the order of the I/O accesses). This can
be fixed by simply sorting the I/O access messages, since their order is
irrelevant anyway (for this asynchonous I/O).
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/038')
-rwxr-xr-x | tests/qemu-iotests/038 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/038 b/tests/qemu-iotests/038 index 36125ea..90de1a7 100755 --- a/tests/qemu-iotests/038 +++ b/tests/qemu-iotests/038 @@ -95,7 +95,8 @@ function overlay_io() } overlay_io | $QEMU_IO $TEST_IMG | _filter_qemu_io |\ - sed -e 's/bytes at offset [0-9]*/bytes at offset XXX/g' + sed -e 's/bytes at offset [0-9]*/bytes at offset XXX/g' \ + -e 's/qemu-io> //g' | paste - - | sort | tr '\t' '\n' echo echo "== Verify image content ==" |