tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests

A lot of tests run fine on FreeBSD and macOS, too - the limitation
to Linux here was likely just copied-and-pasted from other tests.
Thus remove the "_supported_os Linux" line from tests that run
successful in our CI pipelines on FreeBSD and macOS.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20190502084506.8009-6-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2019-04-23 17:31:40 +02:00
parent db2b95d564
commit b3763a195c
99 changed files with 0 additions and 99 deletions

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M
offset=67M offset=67M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt raw qcow qcow2 qed vdi vmdk vhdx luks _supported_fmt raw qcow qcow2 qed vdi vmdk vhdx luks
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# currently only qcow2 allows for consistency checks using qemu-img # currently only qcow2 allows for consistency checks using qemu-img
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
# refcount_bits must be at least 4 so we can create ten internal snapshots # refcount_bits must be at least 4 so we can create ten internal snapshots
# (1 bit supports none, 2 bits support two, 4 bits support 14) # (1 bit supports none, 2 bits support two, 4 bits support 14)
_unsupported_imgopts 'refcount_bits=\(1\|2\)[^0-9]' _unsupported_imgopts 'refcount_bits=\(1\|2\)[^0-9]'

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=6G size=6G

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=6G size=6G

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=6G size=6G

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
# Remove once all tests are fixed to use TEST_IMG_FILE # Remove once all tests are fixed to use TEST_IMG_FILE
# correctly and common.rc sets it unconditionally # correctly and common.rc sets it unconditionally

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# actually any format that supports snapshots # actually any format that supports snapshots
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
# 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]'

View file

@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow qcow2 vmdk qed _supported_fmt qcow qcow2 vmdk qed
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat" _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
TEST_OFFSETS="0 4294967296" TEST_OFFSETS="0 4294967296"

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files # Any format supporting backing files
_supported_fmt qcow qcow2 vmdk qed _supported_fmt qcow qcow2 vmdk qed
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \ _unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \ "subformat=twoGbMaxExtentFlat" \
"subformat=twoGbMaxExtentSparse" "subformat=twoGbMaxExtentSparse"

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format that supports snapshots # Any format that supports snapshots
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
TEST_OFFSETS="10485760 4294967296" TEST_OFFSETS="10485760 4294967296"
CLUSTER_SIZE="4096" CLUSTER_SIZE="4096"

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt raw qcow2 qed luks _supported_fmt raw qcow2 qed luks
_supported_proto file sheepdog rbd nfs _supported_proto file sheepdog rbd nfs
_supported_os Linux
echo "=== Creating image" echo "=== Creating image"
echo echo

View file

@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Currently only qcow2 supports rebasing # Currently only qcow2 supports rebasing
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
_default_cache_mode "writethrough" _default_cache_mode "writethrough"
_supported_cache_modes "writethrough" "none" _supported_cache_modes "writethrough" "none"
# The refcount table tests expect a certain minimum width for refcount entries # The refcount table tests expect a certain minimum width for refcount entries

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt vmdk qcow qcow2 qed _supported_fmt vmdk qcow qcow2 qed
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
# 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]'

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qcow2-specific low-level functionality # This tests qcow2-specific low-level functionality
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
CLUSTER_SIZE=65536 CLUSTER_SIZE=65536

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This works for any image format (though unlikely to segfault for raw) # This works for any image format (though unlikely to segfault for raw)
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
echo echo
echo === Prepare image === echo === Prepare image ===

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
size=6G size=6G

View file

@ -43,7 +43,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qcow2-specific low-level functionality # This tests qcow2-specific low-level functionality
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# Only qcow2v3 and later supports feature bits # Only qcow2v3 and later supports feature bits
IMGOPTS="compat=1.1" IMGOPTS="compat=1.1"

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow qcow2 vmdk qed _supported_fmt qcow qcow2 vmdk qed
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \ _unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \ "subformat=twoGbMaxExtentFlat" \
"subformat=twoGbMaxExtentSparse" "subformat=twoGbMaxExtentSparse"

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 qed _supported_fmt qcow2 qed
_supported_proto file _supported_proto file
_supported_os Linux
echo echo
echo "== Creating zero size image ==" echo "== Creating zero size image =="

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files # Any format supporting backing files
_supported_fmt qcow2 qed _supported_fmt qcow2 qed
_supported_proto file _supported_proto file
_supported_os Linux
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
CLUSTER_SIZE=64k CLUSTER_SIZE=64k
size=128M size=128M

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
filter_test_dir() filter_test_dir()
{ {

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 qed _supported_fmt qcow2 qed
_supported_proto file _supported_proto file
_supported_os Linux
if test "$IMGFMT" = qcow2 && test $IMGOPTS = ""; then if test "$IMGFMT" = qcow2 && test $IMGOPTS = ""; then
IMGOPTS=compat=1.1 IMGOPTS=compat=1.1

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# 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]\|$\)\)'

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
# Don't do O_DIRECT on tmpfs # Don't do O_DIRECT on tmpfs
_supported_cache_modes "writeback" "writethrough" "unsafe" _supported_cache_modes "writeback" "writethrough" "unsafe"

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 qcow _supported_fmt qcow2 qcow
_supported_proto file _supported_proto file
_supported_os Linux
echo echo
echo "== Creating single sector image ==" echo "== Creating single sector image =="

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
echo echo
echo "creating too large image (1 EB)" echo "creating too large image (1 EB)"

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qocw2-specific low-level functionality # This tests qocw2-specific low-level functionality
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
IMGOPTS="compat=1.1" IMGOPTS="compat=1.1"
IMG_SIZE=64M IMG_SIZE=64M

View file

@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow qcow2 vmdk qed raw _supported_fmt qcow qcow2 vmdk qed raw
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \ _unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \ "subformat=twoGbMaxExtentFlat" \
"subformat=twoGbMaxExtentSparse" "subformat=twoGbMaxExtentSparse"

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qocw2-specific low-level functionality # This tests qocw2-specific low-level functionality
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
# Intentionally create an unaligned image # Intentionally create an unaligned image
IMGOPTS="compat=1.1" IMGOPTS="compat=1.1"

View file

@ -32,7 +32,6 @@ status=1 # failure is the default!
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# Because anything other than 16 would change the output of query-block # Because anything other than 16 would change the output of query-block
_unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)' _unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qocw2-specific low-level functionality # This tests qocw2-specific low-level functionality
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_supported_os Linux
IMGOPTS="compat=1.1" IMGOPTS="compat=1.1"
IMG_SIZE=128K IMG_SIZE=128K

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qed qcow qcow2 vmdk _supported_fmt qed qcow qcow2 vmdk
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat" _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
IMG_SIZE=128K IMG_SIZE=128K

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
do_run_qemu() do_run_qemu()
{ {

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt vpc vmdk vhdx vdi qed qcow2 qcow _supported_fmt vpc vmdk vhdx vdi qed qcow2 qcow
_supported_proto file _supported_proto file
_supported_os Linux
IMG_SIZE=64M IMG_SIZE=64M

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
CLUSTER_SIZE=64k CLUSTER_SIZE=64k
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file nfs _supported_proto file nfs
_supported_os Linux
echo "=== Check option preallocation and cluster_size ===" echo "=== Check option preallocation and cluster_size ==="
echo echo

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file nfs _supported_proto file nfs
_supported_os Linux
run_qemu_img() run_qemu_img()
{ {

View file

@ -56,7 +56,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# ${1}: unique identifier for the snapshot filename # ${1}: unique identifier for the snapshot filename

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# Because anything other than 16 would change the output of qemu_io -c info # Because anything other than 16 would change the output of qemu_io -c info
_unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)' _unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file nfs _supported_proto file nfs
_supported_os Linux
IMG_SIZE=128K IMG_SIZE=128K

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto nbd _supported_proto nbd
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat" _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
_make_test_img 64M _make_test_img 64M

View file

@ -44,7 +44,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
size_smaller=5M size_smaller=5M
size_larger=100M size_larger=100M

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
IMGOPTS="compat=1.1" IMGOPTS="compat=1.1"

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
IMG_SIZE=64K IMG_SIZE=64K

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file nfs _supported_proto file nfs
_supported_os Linux
# 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]'

View file

@ -34,7 +34,6 @@ trap "exit \$status" 0 1 2 3 15
_supported_fmt raw qcow qcow2 qed vdi vmdk vhdx _supported_fmt raw qcow qcow2 qed vdi vmdk vhdx
_supported_proto generic _supported_proto generic
_supported_os Linux
echo "=== Check qemu-img info output ===" echo "=== Check qemu-img info output ==="
echo echo

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 vmdk vhdx qed _supported_fmt qcow2 vmdk vhdx qed
_supported_proto generic _supported_proto generic
_supported_os Linux
_unsupported_imgopts "subformat=twoGbMaxExtentFlat" \ _unsupported_imgopts "subformat=twoGbMaxExtentFlat" \
"subformat=twoGbMaxExtentSparse" "subformat=twoGbMaxExtentSparse"

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file nfs _supported_proto file nfs
_supported_os Linux
IMG_SIZE=64K IMG_SIZE=64K

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files # Any format supporting backing files
_supported_fmt qed qcow qcow2 vmdk _supported_fmt qed qcow qcow2 vmdk
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat" _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
TEST_IMG_REL=$(basename "$TEST_IMG") TEST_IMG_REL=$(basename "$TEST_IMG")

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qed qcow qcow2 vmdk _supported_fmt qed qcow qcow2 vmdk
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat" _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
$QEMU_IMG create -f $IMGFMT -b "$TEST_IMG.inexistent" "$TEST_IMG" 2>&1 \ $QEMU_IMG create -f $IMGFMT -b "$TEST_IMG.inexistent" "$TEST_IMG" 2>&1 \

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qcow2-specific low-level functionality # This tests qcow2-specific low-level functionality
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# This test will set refcount_bits on its own which would conflict with the # This test will set refcount_bits on its own which would conflict with the
# manual setting; compat will be overridden as well # manual setting; compat will be overridden as well
_unsupported_imgopts refcount_bits 'compat=0.10' _unsupported_imgopts refcount_bits 'compat=0.10'

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
TEST_IMG="$TEST_IMG.base" _make_test_img 64M TEST_IMG="$TEST_IMG.base" _make_test_img 64M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# This test relies on refcounts being 64 bits wide (which does not work with # This test relies on refcounts being 64 bits wide (which does not work with
# compat=0.10) # compat=0.10)
_unsupported_imgopts 'refcount_bits=\([^6]\|.\([^4]\|$\)\)' 'compat=0.10' _unsupported_imgopts 'refcount_bits=\([^6]\|.\([^4]\|$\)\)' 'compat=0.10'

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
_make_test_img 64k _make_test_img 64k

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_fmt luks _unsupported_fmt luks
_make_test_img 64M _make_test_img 64M

View file

@ -44,7 +44,6 @@ get_image_size_on_host()
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
if [ -z "$TEST_IMG_FILE" ]; then if [ -z "$TEST_IMG_FILE" ]; then
TEST_IMG_FILE=$TEST_IMG TEST_IMG_FILE=$TEST_IMG

View file

@ -37,7 +37,6 @@ _supported_fmt qcow qcow2 qed vmdk
# colons which separate a protocol prefix from the rest and colons which are # colons which separate a protocol prefix from the rest and colons which are
# just part of the filename, so we cannot test protocols which require a prefix) # just part of the filename, so we cannot test protocols which require a prefix)
_supported_proto file _supported_proto file
_supported_os Linux
echo echo
echo '=== Testing plain files ===' echo '=== Testing plain files ==='

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
IMG_SIZE=64K IMG_SIZE=64K

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
TEST_IMG="$TEST_IMG.base" _make_test_img 64M TEST_IMG="$TEST_IMG.base" _make_test_img 64M
_make_test_img -b "$TEST_IMG.base" _make_test_img -b "$TEST_IMG.base"

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow qcow2 _supported_fmt qcow qcow2
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
size=128M size=128M

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# We test all cache modes anyway, but O_DIRECT needs to be supported # We test all cache modes anyway, but O_DIRECT needs to be supported
_default_cache_mode none _default_cache_mode none

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
keep_stderr=y \ keep_stderr=y \
_launch_qemu 2> >(_filter_nbd) _launch_qemu 2> >(_filter_nbd)

View file

@ -46,7 +46,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
size=512M size=512M

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
_make_test_img 1M _make_test_img 1M

View file

@ -62,7 +62,6 @@ _check_ofd || _notrun "OFD lock not available"
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
_run_cmd() _run_cmd()
{ {

View file

@ -49,7 +49,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 qed _supported_fmt qcow2 qed
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
# Create source disk # Create source disk
TEST_IMG="$TEST_IMG.backing" _make_test_img 1M TEST_IMG="$TEST_IMG.backing" _make_test_img 1M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
do_run_qemu() do_run_qemu()
{ {

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow qcow2 _supported_fmt qcow qcow2
_supported_proto generic _supported_proto generic
_unsupported_proto vxhs _unsupported_proto vxhs
_supported_os Linux
size=128M size=128M

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_fmt luks _unsupported_fmt luks
TEST_SIZES="5 512 1024 1999 1K 64K 1M" TEST_SIZES="5 512 1024 1999 1K 64K 1M"

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter . ./common.filter
_supported_fmt generic _supported_fmt generic
_supported_os Linux
test_ssh=$($QEMU_IMG --help | grep '^Supported formats:.* ssh\( \|$\)') test_ssh=$($QEMU_IMG --help | grep '^Supported formats:.* ssh\( \|$\)')
[ "$test_ssh" = "" ] && _notrun "ssh support required" [ "$test_ssh" = "" ] && _notrun "ssh support required"

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
_unsupported_fmt luks _unsupported_fmt luks
echo echo

View file

@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto nfs _supported_proto nfs
_supported_os Linux
size=100M size=100M

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
size=32M size=32M

View file

@ -44,7 +44,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 raw qed quorum _supported_fmt qcow2 raw qed quorum
_supported_proto file _supported_proto file
_supported_os Linux
size=64M size=64M
_make_test_img $size _make_test_img $size

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
_notrun "Requires a PC machine" _notrun "Requires a PC machine"

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
size=64M size=64M
_make_test_img $size _make_test_img $size

View file

@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# See 178 for more extensive tests across more formats # See 178 for more extensive tests across more formats
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
echo "== Huge file ==" echo "== Huge file =="
echo echo

View file

@ -43,7 +43,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
size=64M size=64M

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
_notrun "Requires a PC machine" _notrun "Requires a PC machine"

View file

@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
do_run_qemu() do_run_qemu()
{ {

View file

@ -51,7 +51,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Test is supported for any backing file; but we force qcow2 for our wrapper. # Test is supported for any backing file; but we force qcow2 for our wrapper.
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
# LUKS support may be possible, but it complicates things. # LUKS support may be possible, but it complicates things.
_unsupported_fmt luks _unsupported_fmt luks

View file

@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 qed _supported_fmt qcow2 qed
_supported_proto file _supported_proto file
_supported_os Linux
BACKING_IMG="${TEST_DIR}/backing.img" BACKING_IMG="${TEST_DIR}/backing.img"
TEST_IMG="${TEST_DIR}/test.img" TEST_IMG="${TEST_DIR}/test.img"

View file

@ -36,7 +36,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# Repairing the corrupted image requires qemu-img check to store a # Repairing the corrupted image requires qemu-img check to store a
# refcount up to 3, which requires at least two refcount bits. # refcount up to 3, which requires at least two refcount bits.

View file

@ -48,7 +48,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Test is supported for any backing file; but we force qcow2 for our wrapper. # Test is supported for any backing file; but we force qcow2 for our wrapper.
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
# LUKS support may be possible, but it complicates things. # LUKS support may be possible, but it complicates things.
_unsupported_fmt luks _unsupported_fmt luks

View file

@ -37,7 +37,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This test is specific to qcow2 # This test is specific to qcow2
_supported_fmt qcow2 _supported_fmt qcow2
_supported_proto file _supported_proto file
_supported_os Linux
# This test needs clusters with at least a refcount of 2 so that # This test needs clusters with at least a refcount of 2 so that
# OFLAG_COPIED is not set. refcount_bits=1 is therefore unsupported. # OFLAG_COPIED is not set. refcount_bits=1 is therefore unsupported.

View file

@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto file _supported_proto file
_supported_os Linux
do_run_qemu() do_run_qemu()
{ {

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt generic _supported_fmt generic
_supported_proto rbd _supported_proto rbd
_supported_os Linux
BOGUS_CONF=${TEST_DIR}/ceph-$$.conf BOGUS_CONF=${TEST_DIR}/ceph-$$.conf
touch "${BOGUS_CONF}" touch "${BOGUS_CONF}"

View file

@ -47,7 +47,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt raw qcow2 _supported_fmt raw qcow2
_supported_proto file _supported_proto file
# If porting to non-Linux, consider using socat instead of ss in common.nbd # If porting to non-Linux, consider using socat instead of ss in common.nbd
_supported_os Linux
_require_command QEMU_NBD _require_command QEMU_NBD
nbd_server_set_tcp_port nbd_server_set_tcp_port

View file

@ -33,7 +33,6 @@ status=1 # failure is the default!
_supported_fmt generic _supported_fmt generic
_supported_proto generic _supported_proto generic
_supported_os Linux
do_run_qemu() do_run_qemu()
{ {

View file

@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Requires backing files and .bdrv_change_backing_file support # Requires backing files and .bdrv_change_backing_file support
_supported_fmt qcow2 qed _supported_fmt qcow2 qed
_supported_proto file _supported_proto file
_supported_os Linux
size=128M size=128M