From c85c6d9ec1f992a4d9b4b72cabf80235ab652b90 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 18 Dec 2019 17:15:41 +0100 Subject: 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 Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf --- tests/qemu-iotests/051 | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/qemu-iotests/051') diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051 index 53bcdbc911..a13bce2fd0 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() { -- cgit v1.2.3