mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
00637c6b0b
commit
c85c6d9ec1
2 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@ _supported_proto file
|
||||||
# A compat=0.10 image is created in this test which does not support anything
|
# A compat=0.10 image is created in this test which does not support anything
|
||||||
# other than refcount_bits=16
|
# other than refcount_bits=16
|
||||||
_unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'
|
_unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'
|
||||||
|
_require_drivers nbd
|
||||||
|
|
||||||
do_run_qemu()
|
do_run_qemu()
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,6 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||||
_supported_fmt qcow2
|
_supported_fmt qcow2
|
||||||
_supported_proto file
|
_supported_proto file
|
||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
|
_require_drivers copy-on-read
|
||||||
|
|
||||||
# Internal snapshots are (currently) impossible with refcount_bits=1
|
# Internal snapshots are (currently) impossible with refcount_bits=1
|
||||||
_unsupported_imgopts 'refcount_bits=1[^0-9]'
|
_unsupported_imgopts 'refcount_bits=1[^0-9]'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue