aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/051
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-12-18 17:15:41 +0100
committerKevin Wolf <kwolf@redhat.com>2019-12-19 12:55:31 +0100
commitc85c6d9ec1f992a4d9b4b72cabf80235ab652b90 (patch)
tree2f723df159ae697ff2d0dce808ecffa2c1ad26e3 /tests/qemu-iotests/051
parent00637c6b0b67694127cc01dd75f3626da23acdaa (diff)
downloadqemu-c85c6d9ec1f992a4d9b4b72cabf80235ab652b90.zip
qemu-c85c6d9ec1f992a4d9b4b72cabf80235ab652b90.tar.gz
qemu-c85c6d9ec1f992a4d9b4b72cabf80235ab652b90.tar.bz2
iotests: Add more "_require_drivers" checks to the shell-based tests
Test 051 should be skipped if nbd is not available, and 267 should be skipped if copy-on-read is not enabled. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/051')
-rwxr-xr-xtests/qemu-iotests/0511
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
index 53bcdbc..a13bce2 100755
--- a/tests/qemu-iotests/051
+++ b/tests/qemu-iotests/051
@@ -41,6 +41,7 @@ _supported_proto file
# A compat=0.10 image is created in this test which does not support anything
# other than refcount_bits=16
_unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'
+_require_drivers nbd
do_run_qemu()
{