diff options
author | Dong Xu Wang <wdongxu@linux.vnet.ibm.com> | 2012-04-17 16:23:44 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-19 15:48:52 +0200 |
commit | 8ff9ae00da148ca98248eb2284ba432970e232ec (patch) | |
tree | 188ee1eb4540ad30e0ed929e89156e799a1f8845 /tests/qemu-iotests | |
parent | 7094f12f868fc1b75b105bcc676e15964dab77af (diff) |
iotests: fix error in 005
According comment, we should not read again, we will write.
Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rwxr-xr-x | tests/qemu-iotests/005 | 2 | ||||
-rw-r--r-- | tests/qemu-iotests/005.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/005 b/tests/qemu-iotests/005 index 74537dbabb..b7970e3b58 100755 --- a/tests/qemu-iotests/005 +++ b/tests/qemu-iotests/005 @@ -65,7 +65,7 @@ $QEMU_IO -c "read 1024 4096" $TEST_IMG | _filter_qemu_io echo echo "small write" -$QEMU_IO -c "read 8192 4096" $TEST_IMG | _filter_qemu_io +$QEMU_IO -c "write 8192 4096" $TEST_IMG | _filter_qemu_io # success, all done echo "*** done" diff --git a/tests/qemu-iotests/005.out b/tests/qemu-iotests/005.out index 718a18532d..2d3e7df25a 100644 --- a/tests/qemu-iotests/005.out +++ b/tests/qemu-iotests/005.out @@ -8,6 +8,6 @@ read 4096/4096 bytes at offset 1024 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) small write -read 4096/4096 bytes at offset 8192 +wrote 4096/4096 bytes at offset 8192 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) *** done |