]> 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>
Mon, 28 Oct 2019 04:55:39 +0000 (23:55 -0500)
commit593beeaf81964e890d0f7f40fa4bafcb9769ae35
tree77b5bc62e1c10aac455c2c138115e0cc44ac2c4d
parenteee776fbc06be627ce6e01c5766db9f83af55ec1
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