]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Restrict nbd Python tests to nbd
authorMax Reitz <mreitz@redhat.com>
Mon, 2 Sep 2019 19:33:19 +0000 (21:33 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2019 21:58:28 +0000 (16:58 -0500)
commit491bf156718ca25a5c3c2f9d91c216d400e532b9
tree280780d7e2b9eef28dc9e0d5e6083a774a8fc05a
parentf949655dd33a78457debd1b8f2064c49e230bf10
iotests: Restrict nbd Python tests to nbd

We have two Python unittest-style tests that test NBD.  As such, they
should specify supported_protocols=['nbd'] so they are skipped when the
user wants to test some other protocol.

Furthermore, we should restrict their choice of formats to 'raw'.  The
idea of a protocol/format combination is to use some format over some
protocol; but we always use the raw format over NBD.  It does not really
matter what the NBD server uses on its end, and it is not a useful test
of the respective format driver anyway.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 7c932a1d69a6d6ac5c0b615c11d191da3bbe9aa8)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/147
tests/qemu-iotests/205