From e76a8e893d2b005cb966bfbfff4bbba8f7cd302d Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 9 Jul 2009 15:26:11 +0200 Subject: qemu-iotests: make a few more tests generic Pretend that a non-implemented check is always successful and thus allow various tests that were qcow2-specific before to be generic. Signed-off-by: Christoph Hellwig Reviewed-by: Kevin Wolf --- tests/qemu-iotests/common.pattern | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/qemu-iotests/common.pattern') diff --git a/tests/qemu-iotests/common.pattern b/tests/qemu-iotests/common.pattern index f1b18296dd..9e7f2f20db 100644 --- a/tests/qemu-iotests/common.pattern +++ b/tests/qemu-iotests/common.pattern @@ -96,7 +96,7 @@ function io_test2() { io_pattern writev $((offset + 8 * 4096)) 4096 $((9 * 4096)) 256 165 mv $TEST_IMG $TEST_IMG.orig - $QEMU_IMG convert -f qcow2 -O qcow2 -c $TEST_IMG.orig $TEST_IMG + $QEMU_IMG convert -f $IMGFMT -O $IMGFMT -c $TEST_IMG.orig $TEST_IMG # Write the used clusters echo === Used clusters [1] -- cgit v1.2.3