summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>2012-04-23 17:14:16 +0800
committerKevin Wolf <kwolf@redhat.com>2012-05-02 18:39:39 +0200
commita5126c759d12afe3011eab74fef9cea19dbd729f (patch)
tree1924416ee34b6d664e7c27884c954381007b5033 /tests
parent563987d0a799f90b58a575b190a57546c335191b (diff)
downloadqemu-a5126c759d12afe3011eab74fef9cea19dbd729f.tar.gz
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 <wdongxu@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/common.rc1
1 files changed, 1 insertions, 0 deletions
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./'
}