aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/198
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/198')
-rwxr-xr-xtests/qemu-iotests/1988
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/qemu-iotests/198 b/tests/qemu-iotests/198
index 34ef666381..54eaaf5153 100755
--- a/tests/qemu-iotests/198
+++ b/tests/qemu-iotests/198
@@ -91,11 +91,15 @@ $QEMU_IO --object $SECRET0 --object $SECRET1 -c "read -P 0x9 0 $size" --image-op
echo
echo "== checking image base =="
-$QEMU_IMG info --image-opts $IMGSPECBASE | _filter_img_info | _filter_testdir | sed -e "/^disk size:/ D"
+$QEMU_IMG info --image-opts $IMGSPECBASE | _filter_img_info --format-specific \
+ | sed -e "/^disk size:/ D" -e '/refcount bits:/ D' -e '/compat:/ D' \
+ -e '/lazy refcounts:/ D' -e '/corrupt:/ D'
echo
echo "== checking image layer =="
-$QEMU_IMG info --image-opts $IMGSPECLAYER | _filter_img_info | _filter_testdir | sed -e "/^disk size:/ D"
+$QEMU_IMG info --image-opts $IMGSPECLAYER | _filter_img_info --format-specific \
+ | sed -e "/^disk size:/ D" -e '/refcount bits:/ D' -e '/compat:/ D' \
+ -e '/lazy refcounts:/ D' -e '/corrupt:/ D'
# success, all done