From a5126c759d12afe3011eab74fef9cea19dbd729f Mon Sep 17 00:00:00 2001 From: Dong Xu Wang Date: Mon, 23 Apr 2012 17:14:16 +0800 Subject: [PATCH] qemu-iotests: ignore fragmentation information for qed We added image fragmentation statistics functions to qemu-img several days ago, those patches will cause "./check -qed" failed. This patch will ignore fragmentation statistics information of qed format, and then "./check -qed" will work. Signed-off-by: Dong Xu Wang Signed-off-by: Kevin Wolf --- tests/qemu-iotests/common.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 4bc7420ece..e535874e4c 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -130,6 +130,7 @@ _cleanup_test_img() _check_test_img() { $QEMU_IMG check -f $IMGFMT $TEST_IMG 2>&1 | \ + grep -v "fragmented$" | \ sed -e 's/qemu-img\: This image format does not support checks/No errors were found on the image./' }