From 103cbc771e5660d1f5bb458be80aa9e363547ae0 Mon Sep 17 00:00:00 2001 From: Max Reitz Date: Mon, 2 Sep 2019 21:33:18 +0200 Subject: iotests: Restrict file Python tests to file Most of our Python unittest-style tests only support the file protocol. You can run them with any other protocol, but the test will simply ignore your choice and use file anyway. We should let them signal that they require the file protocol so they are skipped when you want to test some other protocol. Signed-off-by: Max Reitz Signed-off-by: Kevin Wolf --- tests/qemu-iotests/151 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/qemu-iotests/151') diff --git a/tests/qemu-iotests/151 b/tests/qemu-iotests/151 index ad7359fc8d..76ae265cc1 100755 --- a/tests/qemu-iotests/151 +++ b/tests/qemu-iotests/151 @@ -142,4 +142,5 @@ class TestActiveMirror(iotests.QMPTestCase): if __name__ == '__main__': - iotests.main(supported_fmts=['qcow2', 'raw']) + iotests.main(supported_fmts=['qcow2', 'raw'], + supported_protocols=['file']) -- cgit v1.2.3