[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/3] qemu-iotests: info-string filter in _img_info
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PATCH 2/3] qemu-iotests: info-string filter in _img_info |
Date: |
Thu, 5 Sep 2013 14:05:14 +0200 |
Filter out additional information specific to the image format provided
by qemu-img info in _img_info.
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/common.rc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 5e077c3..d2dae4b 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -186,7 +186,9 @@ _img_info()
-e "s#$TEST_DIR#TEST_DIR#g" \
-e "s#$IMGFMT#IMGFMT#g" \
-e "/^disk size:/ D" \
- -e "/actual-size/ D"
+ -e "/actual-size/ D" \
+ -e "/additional information:/ D" \
+ -e "/info-string/ D"
}
_get_pids_by_name()
--
1.8.3.1