summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/191
diff options
context:
space:
mode:
authorMax Reitz2017-11-23 03:08:31 +0100
committerMax Reitz2018-01-23 12:34:43 +0100
commit2483537ed9839ac2aa5450985983333c4c8771cd (patch)
tree316dac99572502ddc0d0e7c5e6bbae7655c760a5 /tests/qemu-iotests/191
parentiotests: Make 184 image-less (diff)
downloadqemu-2483537ed9839ac2aa5450985983333c4c8771cd.tar.gz
qemu-2483537ed9839ac2aa5450985983333c4c8771cd.tar.xz
qemu-2483537ed9839ac2aa5450985983333c4c8771cd.zip
iotests: Make 191 work with qcow2 options
In order for 191 to work with an explicit refcount_bits or compat=0.10, we should strip format-specific information from the output--and we can do so by using _filter_img_info. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20171123020832.8165-17-mreitz@redhat.com Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/191')
-rwxr-xr-xtests/qemu-iotests/1915
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/qemu-iotests/191 b/tests/qemu-iotests/191
index ad785e10b1..dfad6555e4 100755
--- a/tests/qemu-iotests/191
+++ b/tests/qemu-iotests/191
@@ -45,7 +45,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.qemu
_supported_fmt qcow2
-_unsupported_imgopts compat=0.10
_supported_proto file
_supported_os Linux
@@ -92,7 +91,7 @@ echo === Check that both top and top2 point to base now ===
echo
_send_qemu_cmd $h "{ 'execute': 'query-named-block-nodes' }" "^}" |
- _filter_generated_node_ids | _filter_actual_image_size
+ _filter_generated_node_ids | _filter_actual_image_size | _filter_img_info
_send_qemu_cmd $h "{ 'execute': 'quit' }" "^}"
wait=1 _cleanup_qemu
@@ -140,7 +139,7 @@ echo === Check that both top and top2 point to base now ===
echo
_send_qemu_cmd $h "{ 'execute': 'query-named-block-nodes' }" "^}" |
- _filter_generated_node_ids | _filter_actual_image_size
+ _filter_generated_node_ids | _filter_actual_image_size | _filter_img_info
_send_qemu_cmd $h "{ 'execute': 'quit' }" "^}"
wait=1 _cleanup_qemu