iotests: Do not pipe _make_test_img
commitd81fe252a22d0cbcf78931b9ab3445ad9c30638e
authorMax Reitz <mreitz@redhat.com>
Tue, 27 Oct 2020 19:05:48 +0000 (27 20:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Dec 2020 16:52:40 +0000 (11 17:52 +0100)
tree5b90f6a06dbb0dec69239ef5696a28e0b30121a1
parentf96e59da1ff5b5bf55a1dc6c442cb34a941cff12
iotests: Do not pipe _make_test_img

Executing _make_test_img as part of a pipe will undo all variable
changes it has done.  As such, this could not work with FUSE (because
we want to remember all of our exports and their qemu instances).

Replace the pipe by a temporary file in 071 and 174 (the two tests that
can run on FUSE).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201027190600.192171-9-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/071
tests/qemu-iotests/174