iotests.py: Filter filename in any string value
commit56a6e5d0ca61f746577ea6223bcabbf7d6c576af
authorMax Reitz <mreitz@redhat.com>
Sun, 10 Feb 2019 14:57:33 +0000 (10 15:57 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 25 Feb 2019 14:11:28 +0000 (25 15:11 +0100)
tree3ae95490f139de4ad1b850207e816575d07ef94e
parent011a576113000f9c90a8450ef9116cca8d6f2523
iotests.py: Filter filename in any string value

filter_qmp_testfiles() currently filters the filename only for specific
keys.  However, there are more keys that take filenames (such as
block-commit's @top and @base, or ssh's @path), and it does not make
sense to list them all here.  "$TEST_DIR/$PID-" should have enough
entropy not to appear anywhere randomly.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20190210145736.1486-8-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/iotests.py