summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/005
diff options
context:
space:
mode:
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>2012-04-17 16:23:44 +0800
committerKevin Wolf <kwolf@redhat.com>2012-04-19 15:48:52 +0200
commit8ff9ae00da148ca98248eb2284ba432970e232ec (patch)
tree188ee1eb4540ad30e0ed929e89156e799a1f8845 /tests/qemu-iotests/005
parent7094f12f868fc1b75b105bcc676e15964dab77af (diff)
downloadqemu-8ff9ae00da148ca98248eb2284ba432970e232ec.tar.gz
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/005')
-rwxr-xr-xtests/qemu-iotests/0052
1 files changed, 1 insertions, 1 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"