diff options
author | Max Reitz <mreitz@redhat.com> | 2019-02-10 15:57:27 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-02-25 15:11:27 +0100 |
commit | 250c04f554a4a148eb3772af255e6a60450293b0 (patch) | |
tree | f89d47fdeb629231949b2555d7555cda64867af8 /tests/qemu-iotests/237 | |
parent | 7b14f231495291019b6d72cc446fd404c7684e3d (diff) | |
download | qemu-250c04f554a4a148eb3772af255e6a60450293b0.zip qemu-250c04f554a4a148eb3772af255e6a60450293b0.tar.gz qemu-250c04f554a4a148eb3772af255e6a60450293b0.tar.bz2 |
iotests: Re-add filename filters
A previous commit removed the default filters for qmp_log with the
intention to make them explicit; but this happened only for test 206.
There are more tests (for more exotic image formats than qcow2) which
require the filename filter, though.
Note that 237 is still broken for Python 2.x, which is fixed in the next
commit.
Fixes: f8ca8609d8549def45b28e82ecac64adaeee9f12
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20190210145736.1486-2-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/237')
-rwxr-xr-x | tests/qemu-iotests/237 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/qemu-iotests/237 b/tests/qemu-iotests/237 index 251771d..fe0dd0f 100755 --- a/tests/qemu-iotests/237 +++ b/tests/qemu-iotests/237 @@ -27,7 +27,8 @@ from iotests import imgfmt iotests.verify_image_format(supported_fmts=['vmdk']) def blockdev_create(vm, options): - result = vm.qmp_log('blockdev-create', job_id='job0', options=options) + result = vm.qmp_log('blockdev-create', job_id='job0', options=options, + filters=[iotests.filter_qmp_testfiles]) if 'return' in result: assert result['return'] == {} @@ -54,7 +55,7 @@ with iotests.FilePath('t.vmdk') as disk_path, \ 'size': 0 }) vm.qmp_log('blockdev-add', driver='file', filename=disk_path, - node_name='imgfile') + node_name='imgfile', filters=[iotests.filter_qmp_testfiles]) blockdev_create(vm, { 'driver': imgfmt, 'file': 'imgfile', |