From c83f64d498756a7e024be3c696380a26b288635c Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 14 Jul 2009 23:16:00 +0200 Subject: qemu-iotests: fix pattern for write test The write pattern value 0axb is invalid and evaluates to 0, so the read check (which uses a correct value of 0xab) will fail. This failure will only be detected with a separate patch for qemu-io. Without it, qemu-io cannot interpret hex values and always uses a pattern value of 0. Signed-off-by: Stefan Weil Signed-off-by: Christoph Hellwig --- tests/qemu-iotests/002 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/qemu-iotests/002 b/tests/qemu-iotests/002 index adbd85fbd..14025e2ee 100755 --- a/tests/qemu-iotests/002 +++ b/tests/qemu-iotests/002 @@ -61,7 +61,7 @@ $QEMU_IO -c "read -pP 0xa 0 $size" $TEST_IMG | _filter_qemu_io echo echo "unaligned pwrite" -$QEMU_IO -c 'write -pP 0axb 66 42' $TEST_IMG | _filter_qemu_io +$QEMU_IO -c 'write -pP 0xab 66 42' $TEST_IMG | _filter_qemu_io echo echo "verify pattern" -- cgit v1.2.3