iotest: Fix filtering order in 226
authorMax Reitz <mreitz@redhat.com>
Fri, 13 Jul 2018 19:41:00 +0000 (21:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 23 Jul 2018 14:50:43 +0000 (16:50 +0200)
commitd6e4ca902148f33cfaf117396f57c7fff7c635f0
tree27e61080b7c15775c3618d7f0982e5fb1d239306
parente05eb9f29b762cd33d38b712c8c26a432dacf45c
iotest: Fix filtering order in 226

The test directory should be filtered before the image format, otherwise
the test will fail if the image format is part of the test directory,
like so:

[...]
-can't open: Could not open 'TEST_DIR/t.IMGFMT': Is a directory
+can't open: Could not open '/tmp/test-IMGFMT/t.IMGFMT': Is a directory
[...]

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/226