OSDN Git Service

iotests: Filter testfiles out in filter_img_info()
authorKevin Wolf <kwolf@redhat.com>
Fri, 24 Apr 2020 12:54:46 +0000 (14:54 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 30 Apr 2020 15:51:07 +0000 (17:51 +0200)
commitfd586ce8bee50d98773436214dc9e644ddda54aa
tree96c8dd2c5a31c300a339e5f85f2de34d5bc16f2a
parent955c7d6687fefcd903900a1e597fcbc896c661cd
iotests: Filter testfiles out in filter_img_info()

We want to keep TEST_IMG for the full path of the main test image, but
filter_testfiles() must be called for other test images before replacing
other things like the image format because the test directory path could
contain the format as a substring.

Insert a filter_testfiles() call between both.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200424125448.63318-9-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py