aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/129
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-09-02 21:33:18 +0200
committerKevin Wolf <kwolf@redhat.com>2019-09-10 08:58:43 +0200
commit103cbc771e5660d1f5bb458be80aa9e363547ae0 (patch)
treeada7ffd116128d38984f5315d847b733fab41ef5 /tests/qemu-iotests/129
parent88d2aa533a4a1aad44a27c2e6cd5bc5fbcbce7ed (diff)
downloadqemu-103cbc771e5660d1f5bb458be80aa9e363547ae0.zip
qemu-103cbc771e5660d1f5bb458be80aa9e363547ae0.tar.gz
qemu-103cbc771e5660d1f5bb458be80aa9e363547ae0.tar.bz2
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 <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/129')
-rwxr-xr-xtests/qemu-iotests/1293
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/129 b/tests/qemu-iotests/129
index 9e87e1c..cd6b9e9 100755
--- a/tests/qemu-iotests/129
+++ b/tests/qemu-iotests/129
@@ -83,4 +83,5 @@ class TestStopWithBlockJob(iotests.QMPTestCase):
self.do_test_stop("block-commit", device="drive0")
if __name__ == '__main__':
- iotests.main(supported_fmts=["qcow2"])
+ iotests.main(supported_fmts=["qcow2"],
+ supported_protocols=["file"])