qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qemu-iotests: fix pattern for write test


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] qemu-iotests: fix pattern for write test
Date: Sat, 11 Jul 2009 14:34:56 +0200

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 <address@hidden>
---
 002 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/002 b/002
index adbd85f..14025e2 100755
--- a/002
+++ b/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"
-- 
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]