qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 1/9] qemu-iotests: ignore fragmentation information


From: Kevin Wolf
Subject: [Qemu-devel] [PATCH 1/9] qemu-iotests: ignore fragmentation information for qed
Date: Wed, 2 May 2012 19:16:10 +0200

From: Dong Xu Wang <address@hidden>

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 <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
 tests/qemu-iotests/common.rc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 4bc7420..e535874 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./'
 }
 
-- 
1.7.6.5




reply via email to

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