aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/191
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-10-09 18:34:56 +0200
committerMax Reitz <mreitz@redhat.com>2017-10-26 15:01:13 +0200
commitb66df843b442924745d196bd0a05f0639b808164 (patch)
tree8b2a394497d374dd0df72656ad53f3a40ad24e78 /tests/qemu-iotests/191
parent44673a0b59d1fafd1abfdf35a1ac924b856c6ad5 (diff)
downloadqemu-b66df843b442924745d196bd0a05f0639b808164.zip
qemu-b66df843b442924745d196bd0a05f0639b808164.tar.gz
qemu-b66df843b442924745d196bd0a05f0639b808164.tar.bz2
iotests: Filter actual image size in 184 and 191
Whenever the actual image size is not part of the test, it should be filtered as it depends on the host filesystem. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20171009163456.485-3-mreitz@redhat.com Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/191')
-rwxr-xr-xtests/qemu-iotests/1914
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/191 b/tests/qemu-iotests/191
index 28bdea8..ad785e1 100755
--- a/tests/qemu-iotests/191
+++ b/tests/qemu-iotests/191
@@ -92,7 +92,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_generated_node_ids | _filter_actual_image_size
_send_qemu_cmd $h "{ 'execute': 'quit' }" "^}"
wait=1 _cleanup_qemu
@@ -140,7 +140,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_generated_node_ids | _filter_actual_image_size
_send_qemu_cmd $h "{ 'execute': 'quit' }" "^}"
wait=1 _cleanup_qemu