Commit 8ff9ae00 authored by Dong Xu Wang's avatar Dong Xu Wang Committed by Kevin Wolf
Browse files

iotests: fix error in 005



According comment, we should not read again, we will write.

Signed-off-by: default avatarDong Xu Wang <wdongxu@linux.vnet.ibm.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 7094f12f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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