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.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/qemu-iotests/common.rc') diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index c4337d50cb..a05a250d74 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -75,7 +75,8 @@ _cleanup_test_img() _check_test_img() { - $QEMU_IMG check -f $IMGFMT $TEST_IMG + $QEMU_IMG check -f $IMGFMT $TEST_IMG 2>&1 | \ + sed -e 's/qemu-img\: This image format does not support checks/No errors were found on the image./' } _get_pids_by_name() -- cgit v1.2.3