]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests
authorThomas Huth <thuth@redhat.com>
Tue, 23 Apr 2019 15:31:40 +0000 (17:31 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 21 May 2019 08:13:58 +0000 (10:13 +0200)
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>
99 files changed:
tests/qemu-iotests/001
tests/qemu-iotests/002
tests/qemu-iotests/003
tests/qemu-iotests/004
tests/qemu-iotests/007
tests/qemu-iotests/008
tests/qemu-iotests/009
tests/qemu-iotests/010
tests/qemu-iotests/011
tests/qemu-iotests/012
tests/qemu-iotests/015
tests/qemu-iotests/017
tests/qemu-iotests/020
tests/qemu-iotests/021
tests/qemu-iotests/022
tests/qemu-iotests/025
tests/qemu-iotests/026
tests/qemu-iotests/027
tests/qemu-iotests/029
tests/qemu-iotests/031
tests/qemu-iotests/032
tests/qemu-iotests/033
tests/qemu-iotests/035
tests/qemu-iotests/036
tests/qemu-iotests/037
tests/qemu-iotests/042
tests/qemu-iotests/043
tests/qemu-iotests/046
tests/qemu-iotests/047
tests/qemu-iotests/049
tests/qemu-iotests/050
tests/qemu-iotests/051
tests/qemu-iotests/052
tests/qemu-iotests/053
tests/qemu-iotests/054
tests/qemu-iotests/062
tests/qemu-iotests/063
tests/qemu-iotests/066
tests/qemu-iotests/067
tests/qemu-iotests/068
tests/qemu-iotests/069
tests/qemu-iotests/071
tests/qemu-iotests/072
tests/qemu-iotests/073
tests/qemu-iotests/079
tests/qemu-iotests/082
tests/qemu-iotests/085
tests/qemu-iotests/089
tests/qemu-iotests/090
tests/qemu-iotests/094
tests/qemu-iotests/095
tests/qemu-iotests/098
tests/qemu-iotests/102
tests/qemu-iotests/103
tests/qemu-iotests/104
tests/qemu-iotests/105
tests/qemu-iotests/107
tests/qemu-iotests/110
tests/qemu-iotests/111
tests/qemu-iotests/112
tests/qemu-iotests/114
tests/qemu-iotests/115
tests/qemu-iotests/117
tests/qemu-iotests/120
tests/qemu-iotests/125
tests/qemu-iotests/126
tests/qemu-iotests/127
tests/qemu-iotests/133
tests/qemu-iotests/134
tests/qemu-iotests/142
tests/qemu-iotests/143
tests/qemu-iotests/144
tests/qemu-iotests/145
tests/qemu-iotests/153
tests/qemu-iotests/156
tests/qemu-iotests/157
tests/qemu-iotests/158
tests/qemu-iotests/159
tests/qemu-iotests/162
tests/qemu-iotests/170
tests/qemu-iotests/173
tests/qemu-iotests/182
tests/qemu-iotests/183
tests/qemu-iotests/186
tests/qemu-iotests/187
tests/qemu-iotests/190
tests/qemu-iotests/191
tests/qemu-iotests/192
tests/qemu-iotests/195
tests/qemu-iotests/197
tests/qemu-iotests/200
tests/qemu-iotests/214
tests/qemu-iotests/215
tests/qemu-iotests/217
tests/qemu-iotests/227
tests/qemu-iotests/231
tests/qemu-iotests/233
tests/qemu-iotests/240
tests/qemu-iotests/247

index 5d266e170a90e812176583a23cbeb83f24395f3f..d87a535c33915026807df5140b578fc4a3060c63 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index 7fb85084a1f55d32333ad63b4fbe3185602eb0e0..fd413bce48ee901f518dcc7882037ca8b415060c 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index f008c57cdcbacf73fb38d4894f50d77bb45e9b2a..ccd3a39dfb36aa2f5c363d9a875b7ee809dd226c 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 size=128M
 offset=67M
index 64fab3e7147bf943fbf9e764a5b1bb3867dab6c7..d308dc4b498920025707d90c4183cd04995612fd 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt raw qcow qcow2 qed vdi vmdk vhdx luks
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index 3ab5490db390ecc1fee68b297d06c35d097b364e..6abd402423f2797182614e3e829abba781cce356 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # currently only qcow2 allows for consistency checks using qemu-img
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 # 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)
 _unsupported_imgopts 'refcount_bits=\(1\|2\)[^0-9]'
index 75067e36ad8789683ab336682bd802c44aae1265..2b81b119bfe2af37ac937900f6effc19c9b156f1 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index bc4b461122c10cc990699c70fbfa8c2a9a6a98ee..51b200db1d5935afe4e62cf1fd568feb6878c18d 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=6G
index 6920408d28968e6ea1d30a6a6b6b8f1d2dbd9ade..48c533f63266b6a3d115906b4cbd7b8f238a29b2 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=6G
index b4c7e8f799632af4993bf73c42d22a164b2fa474..8b1fce069ad8f3839cda1af8a0b405aef204b97e 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=6G
index 2c3b42d9dd0dc4704b62fc2f82cd5c46c782a3d5..12957285b330063662b3017f904a7fa6df518dd4 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 
 # Remove once all tests are fixed to use TEST_IMG_FILE
 # correctly and common.rc sets it unconditionally
index 5a4063e4f53a57aa1bfd6afeba33da460f4af406..eec5387f3d72c831e8c57c252c1e47ceb5b878d1 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # actually any format that supports snapshots
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 # Internal snapshots are (currently) impossible with refcount_bits=1
 _unsupported_imgopts 'refcount_bits=1[^0-9]'
 
index 83744f29a3f4b30f2d937e3bc57fbde01500f0a6..79875de4543f55cfc9bccf12691471620417dc74 100755 (executable)
@@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow qcow2 vmdk qed
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
 
 TEST_OFFSETS="0 4294967296"
index 71fa753b4ed4b1ddb96b301bcb6b51c4381e4e67..6b0ebb37d2f399fc36b0663d637f746ad3ccfdbb 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Any format supporting backing files
 _supported_fmt qcow qcow2 vmdk qed
 _supported_proto file
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" \
                      "subformat=twoGbMaxExtentFlat" \
                      "subformat=twoGbMaxExtentSparse"
index f6555f3b74d43834dccb9bf1981432082beaf5d9..f888269fd4ca1a3e270406986aacff7454a1b205 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index b68cd64b33c6e970666968493ca6627fd71ad828..99eb08f57f61459e449f0e007afa1c7176fe4caa 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Any format that supports snapshots
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 
 TEST_OFFSETS="10485760 4294967296"
 CLUSTER_SIZE="4096"
index d9a4ebc5e75517d1f7bd06ac3886bb5f2676cb7e..e05d833452dc250e62d242219e0eb9c662db4127 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt raw qcow2 qed luks
 _supported_proto file sheepdog rbd nfs
-_supported_os Linux
 
 echo "=== Creating image"
 echo
index ca89ad704862e0cf860b73330de7e97eafcb465c..e30243608b9263ab228efa131817009ace155a34 100755 (executable)
@@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Currently only qcow2 supports rebasing
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 _default_cache_mode "writethrough"
 _supported_cache_modes "writethrough" "none"
 # The refcount table tests expect a certain minimum width for refcount entries
index b7df9701f736ae5d4edcbf8d06adacc7fca354ad..4cb638022a11c963368d02697b376be33366c194 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt vmdk qcow qcow2 qed
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index 5f42f76cc6e8c4139fe4c009ad7c425662dec619..94c27131320bae03b504d6daa14eae5ff79df134 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 # Internal snapshots are (currently) impossible with refcount_bits=1
 _unsupported_imgopts 'refcount_bits=1[^0-9]'
 
index ef92d8eee37c731246fd470d39b65b6a9aa7e1be..a3c25ec2378d176d5769e104978422730cc6ef5a 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This tests qcow2-specific low-level functionality
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 CLUSTER_SIZE=65536
 
index a1757bb15e2581e8194e14d3fdbd61ae2a5bd276..23c216c5495276e89784c16cbfffb2c3b6df7ee4 100755 (executable)
@@ -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)
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 echo
 echo === Prepare image ===
index cfdf1ec2bab74d6b7e0144582587393e65a0b2a3..362a48c0a07bc4ee53cb37cdcd67c4578c027fee 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 
 size=128M
index 46aa8359365c80cbbc021934c2cde34f2ae0a87f..ad6fa3115a7b4acd706e040a98446ecb117a2a0a 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 
 
 size=6G
index 1b5639412998c5985a406dd1365db7681ccf8167..f06ff67408f6ca246362a5facca687038088df37 100755 (executable)
@@ -43,7 +43,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This tests qcow2-specific low-level functionality
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 # Only qcow2v3 and later supports feature bits
 IMGOPTS="compat=1.1"
index 0781bebefe64461a649a64b4f1ae9a4cc0d9c1e7..819a2a52d2f30855d3b9a61f758ea907dcf848cc 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow qcow2 vmdk qed
 _supported_proto file
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" \
                      "subformat=twoGbMaxExtentFlat" \
                      "subformat=twoGbMaxExtentSparse"
index a9a7fc30412ec647543266cf87d0e1ae88592f29..0e85b356b76a0a9cde88100254318cf15f45288f 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2 qed
 _supported_proto file
-_supported_os Linux
 
 echo
 echo "== Creating zero size image =="
index 9894b154ecb4ab8bcf4de71b72dc884864a81005..67cc7e74c2da71cd58ea0eb9107da1628fa90ae0 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Any format supporting backing files
 _supported_fmt qcow2 qed
 _supported_proto file
-_supported_os Linux
 
 
 size=128M
index 95160bea4c26e57cdfbd2ae876216cc504e0e20c..543355c64f47eff4a5b1f74b9a4079ae15a96ebb 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 CLUSTER_SIZE=64k
 size=128M
index ce81fc6fa7828e9cbe2a99fea57e570393d30213..4528465fb0232b7de3634ba5869277dcee93d2ff 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 
 size=128M
 
index bc09cd67179a33789e12a489f3c1e2311db6f3e1..c100d30ed07c45a949a9213c71400e08eb3135cf 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 filter_test_dir()
 {
index dd7b2c72eb288b856a536422ff5e42e326d86ebc..211fc00797d72e98c2b4c1c88097f4994bc17d58 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2 qed
 _supported_proto file
-_supported_os Linux
 
 if test "$IMGFMT" = qcow2 && test $IMGOPTS = ""; then
   IMGOPTS=compat=1.1
index 02ac960da43d96ed416a5ff681cbf3ec8d957483..a3deb1fcadb6cf0aa0b4f88034ca48f2d251c0f8 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 # 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]\|$\)\)'
index b3a2dc1143274ee3449add0cae47a6930e1f9545..6e2ecbfe2143f55d6c6e0b12e1b7077eb4da8046 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 
 # Don't do O_DIRECT on tmpfs
 _supported_cache_modes "writeback" "writethrough" "unsafe"
index 50c62f0f563e074ea0b782ddd1bcaa8a5d8bd6b8..e82bb6988140f5519dd4f9e7952a285c49967a64 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2 qcow
 _supported_proto file
-_supported_os Linux
 
 echo
 echo "== Creating single sector image =="
index 0d5e14f84745c03d49257aa3d1059fa5688bdcdb..a8905b60d0ed7c14f37e4937fbd6af13d54bbd63 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 echo
 echo "creating too large image (1 EB)"
index ed7400fed2df83f16857d7024f8fa192fdd80e45..d5f818fcce1ffcbf038eb0028db760ddf0ad963b 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This tests qocw2-specific low-level functionality
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 
 IMGOPTS="compat=1.1"
 IMG_SIZE=64M
index 2d5c0ce9fb4653dc3edb453098f0b2da2f8f8c03..fe4892e4679857bbeb57b8ad5ab874e675ae85ee 100755 (executable)
@@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow qcow2 vmdk qed raw
 _supported_proto file
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" \
                      "subformat=twoGbMaxExtentFlat" \
                      "subformat=twoGbMaxExtentSparse"
index f480986e352e76f1b55b68371c218b7fa9faa727..28f8c98412c7cef08ec4c2fbe41f8f9989902ac4 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This tests qocw2-specific low-level functionality
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 
 # Intentionally create an unaligned image
 IMGOPTS="compat=1.1"
index fda16a6b0d7dd7f34a6caee15c7870f44039ec49..926c79b37c45703f7140e9d0eabe10bc87dd969f 100755 (executable)
@@ -32,7 +32,6 @@ status=1      # failure is the default!
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 # Because anything other than 16 would change the output of query-block
 _unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'
 
index 881a022107d262a4e8dedb519c0a3fad04cc70e2..22f5ca3ba662a0d8f7c97bcd871baed25bd793af 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This tests qocw2-specific low-level functionality
 _supported_fmt qcow2
 _supported_proto generic
-_supported_os Linux
 
 IMGOPTS="compat=1.1"
 IMG_SIZE=128K
index 6a8e4aa22edf3688a785663bf6ea3f1d83891234..3974714852d8be8c7342f672e54823d4b854f86e 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qed qcow qcow2 vmdk
 _supported_proto file
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
 
 IMG_SIZE=128K
index 7f3e5abd57024105883e36c42bf6fb1fa2fc2452..1cca9233d09d72f9a8c09163b42aaa47f6fb5b9f 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 do_run_qemu()
 {
index 6f9f247fa574cb944bdf82aaf06e6143f2982e4e..661b36da2da66557dcdb48989a472156108395a6 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt vpc vmdk vhdx vdi qed qcow2 qcow
 _supported_proto file
-_supported_os Linux
 
 IMG_SIZE=64M
 
index 990f90acbd7f0ec87ff60875c32dbbd765dc780f..e684b1b780fa0bde36cbb03dca61f695cea5c41a 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 
 CLUSTER_SIZE=64k
 size=128M
index 1b6594ebefe00ac5d16c6500ec7354581414a459..81f0c21f530287b2c833eefd735dcb0b510d4b35 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file nfs
-_supported_os Linux
 
 echo "=== Check option preallocation and cluster_size ==="
 echo
index 278511dba4938c9d0590cb847d396fe9826eb987..bbbdf555dcbe2cae294925f8d39a6413a4a8ec3c 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file nfs
-_supported_os Linux
 
 run_qemu_img()
 {
index 68cb6659878b3e01829ca80e0b18c2078d8a94ee..d40fdab5421fa999dcbf481361819dfad7144257 100755 (executable)
@@ -56,7 +56,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 
 # ${1}: unique identifier for the snapshot filename
index 660995490849347881254271e8f377d969618d61..ad029f1f099b806fda165552e93c23c4c86525d9 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 # Because anything other than 16 would change the output of qemu_io -c info
 _unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)'
 
index 193bae7d77340e4b479090a3c2cb8e352d7e7a8a..9f8cfbb80f3f43671018bfa7304dec455833dd2e 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file nfs
-_supported_os Linux
 
 IMG_SIZE=128K
 
index 0bcca7726119f3d43cebc17c4b8d386290a05cfb..9343e09492fa1cbabc01e0a082be8dfe2053b606 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto nbd
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
 
 _make_test_img 64M
index 18505b7181af8f96d7159da035953cf5d0db78a0..58fe174b5ed10f5b0cf03d6b23d035be4419abd6 100755 (executable)
@@ -44,7 +44,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 size_smaller=5M
 size_larger=100M
index 461144c831faf549cc5a87c418c02e7a6c65f1a1..1c1d1c468f8eb40773790862022075574fa3d9f0 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 IMGOPTS="compat=1.1"
 
index cedd2b25dcfc096f090249f6b16f4befecb3993a..749ff66b8adea1d31a665efa5a85351c57331fe6 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 IMG_SIZE=64K
 
index 6773e94d9fa683ff3b59160fe24d3bdb7e77efde..554b9de0547cde6281da9016fb945dece31389bd 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file nfs
-_supported_os Linux
 # Internal snapshots are (currently) impossible with refcount_bits=1
 _unsupported_imgopts 'refcount_bits=1[^0-9]'
 
index 390167bad4071621c5e84bed4d5209970c9bc766..c70f28a9a1c1d4cec33ca016b44b0b3d4fd69626 100755 (executable)
@@ -34,7 +34,6 @@ trap "exit \$status" 0 1 2 3 15
 
 _supported_fmt raw qcow qcow2 qed vdi vmdk vhdx
 _supported_proto generic
-_supported_os Linux
 
 echo "=== Check qemu-img info output ==="
 echo
index 3b5a5968440153c4ebbc0a8c70ec1cc3f0d0a56f..3346e8cb25424a4401933006ba4f808df6b049d6 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2 vmdk vhdx qed
 _supported_proto generic
-_supported_os Linux
 _unsupported_imgopts "subformat=twoGbMaxExtentFlat" \
                      "subformat=twoGbMaxExtentSparse"
 
index fcd5a24dfe6fba37a2c615605ffda25f388cea21..268ba27688951d86ca2893fd3ed6ee8621b454ed 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file nfs
-_supported_os Linux
 
 
 IMG_SIZE=64K
index 33b169ffd40644c569bbd57e848013835f155763..2cdc7c8a7295082530fe20b3f3564de4576c0104 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Any format supporting backing files
 _supported_fmt qed qcow qcow2 vmdk
 _supported_proto file
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
 
 TEST_IMG_REL=$(basename "$TEST_IMG")
index 57395be64cbe8da82f7686eccb2cb6014654e0f5..490a5bbcb5359a4f614a3489544b52168130e2fd 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qed qcow qcow2 vmdk
 _supported_proto file
-_supported_os Linux
 _unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"
 
 $QEMU_IMG create -f $IMGFMT -b "$TEST_IMG.inexistent" "$TEST_IMG" 2>&1 \
index 6d81c75a9c963edb0f1bb622a03a232c6d286008..706c10b6006f2bda06025c41cc2e13fa8401fdf7 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This tests qcow2-specific low-level functionality
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 # This test will set refcount_bits on its own which would conflict with the
 # manual setting; compat will be overridden as well
 _unsupported_imgopts refcount_bits 'compat=0.10'
index f36b88f3f3c41e11194a62387d6b9fb027d3e8a7..f90a744fc09e9215f4ebd47a17c75bdc09343698 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 
 
 TEST_IMG="$TEST_IMG.base" _make_test_img 64M
index 7ed347010f5aba02c496a7449b907fee7b8bcf13..9ed3cb6a83d92603b0c1a73409fff4872f27715c 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 # This test relies on refcounts being 64 bits wide (which does not work with
 # compat=0.10)
 _unsupported_imgopts 'refcount_bits=\([^6]\|.\([^4]\|$\)\)' 'compat=0.10'
index 0af0f31c5aa4a5274d268639084886e5b142ca8f..f37b34f8b1e609fa8a664d50c2755d0b6a6447d9 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 _make_test_img 64k
 
index ca95b9276ea2252d2c382a7a3aa9609cd313d1f3..e9b4fbb00954caf1437bbf9e2d6e44c9f3341cab 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 _unsupported_fmt luks
 
 _make_test_img 64M
index 212dcd8f0d57d5091c695da4c7da5cce8543d496..dc4b8f5fb99b973b45a1ea64e52cb08eae4da705 100755 (executable)
@@ -44,7 +44,6 @@ get_image_size_on_host()
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 if [ -z "$TEST_IMG_FILE" ]; then
     TEST_IMG_FILE=$TEST_IMG
index e3ee65c606a98a40c8decad0d7b2af8895b12302..9b0dcf9255d990d3f8186c4af1a44e7652dba601 100755 (executable)
@@ -37,7 +37,6 @@ _supported_fmt qcow qcow2 qed vmdk
 # 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)
 _supported_proto file
-_supported_os Linux
 
 echo
 echo '=== Testing plain files ==='
index 3e941f74d4ff5c1e54d4b1ed8f199bcf5d916103..b64926ab3160d9a3626c8fa6d0f353915733e2a8 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 IMG_SIZE=64K
 
index 1f6056d144963d3e08fa1a4a36dec6c8ddd151b6..6f7cacc0910b456aba199d742b3bc316ad232e66 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 TEST_IMG="$TEST_IMG.base" _make_test_img 64M
 _make_test_img -b "$TEST_IMG.base"
index e9e3e84c2ab29af2bd721198bee2d1e432757b43..141a2eaa7eb80afd3ed92891065a835769664d20 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow qcow2
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 
 
 size=128M
index d9b98cf60a59eba972a5e27acab97d89f66a0798..6b62271876ea5194d4a465be3ea07d9c2247a4da 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 # We test all cache modes anyway, but O_DIRECT needs to be supported
 _default_cache_mode none
index c223867cb3c958b089707968a3a2ac28cfa6749c..92249ac8dad5c01b6af03b3abbf21dc96f9bb41a 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 keep_stderr=y \
 _launch_qemu 2> >(_filter_nbd)
index 15157f33d773f44f60ae7bb92195546a22c5d3ad..011ed4f2bc10319bbec24774036099916d9807d8 100755 (executable)
@@ -46,7 +46,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 size=512M
 
index 28878dc8a1b3783356ebbde76370e0355347fc6d..94275496514265b79ffcd44aa14fdba87c004852 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 _make_test_img 1M
 
index 08ad8a6730153fffe499b3070de2ea5120c3be83..c969a1a16ff8382b9bb69252f6ded8c275af1399 100755 (executable)
@@ -62,7 +62,6 @@ _check_ofd || _notrun "OFD lock not available"
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 _run_cmd()
 {
index 8d134029c6e45f67caa3e72b3a30ec0edb35a0e3..2ffa3ca942ac3d38865f9533b1d63a410a5afb99 100755 (executable)
@@ -49,7 +49,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2 qed
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 
 # Create source disk
 TEST_IMG="$TEST_IMG.backing" _make_test_img 1M
index 69b25cab3033972ddbafaa43dc788c7c29228cef..7cbac38099900b7459a22e90be91a17d2484c789 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 
 do_run_qemu()
 {
index 8c0928a7f95651edb2731e1571ac4308a32b9ad1..ba4db6116ac36463961c377b3bf8ebdf759993f9 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow qcow2
 _supported_proto generic
 _unsupported_proto vxhs
-_supported_os Linux
 
 
 size=128M
index 29066eebde8c57ee8e31d54c6d54cb41b5e7fbc0..2557140ac26facf6cebd18c20c10507b8af52c65 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 _unsupported_fmt luks
 
 TEST_SIZES="5 512 1024 1999 1K 64K 1M"
index 2e9947fd9ab977743d6db1b736d1cd4f5286b63e..4e5ed74fd5874f31d9d4af2f9da6331cd355aac3 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common.filter
 
 _supported_fmt generic
-_supported_os Linux
 
 test_ssh=$($QEMU_IMG --help | grep '^Supported formats:.* ssh\( \|$\)')
 [ "$test_ssh" = "" ] && _notrun "ssh support required"
index 7deb7563c975b04f6c3a316562b03a4c5152f58c..05dd6ed6c369f02650dbcb4ee3e844e3c25d5286 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 _unsupported_fmt luks
 
 echo
index 47036a5564f385c2e2809c5f9527fe836695bb9e..9e2fa2e73cb962be1f62c03e4010330ca3e139af 100755 (executable)
@@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto nfs
-_supported_os Linux
 
 size=100M
 
index 38959bf276a3fd38dc50e716a9d0e51d7e39f816..3a90ebfbfd61831fc2c061f23654bacd4b573717 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 size=32M
 
index 93b7bd798ae2a679441b54f7167572fbd88e561a..fbe5a99bebd512655abe9c582bc8a31208800611 100755 (executable)
@@ -44,7 +44,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2 raw qed quorum
 _supported_proto file
-_supported_os Linux
 
 size=64M
 _make_test_img $size
index 5dd2177b8938edea1d98ff6a3a8821775338ca68..7e7d45babc2d4ba8f8f02a447e84a880390f269a 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
     _notrun "Requires a PC machine"
index a45addde09ada70bd2134daea0061f52dc907740..2fcef9e2bd216224ce1f134f4a6ab5be09ca8be1 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 size=64M
 _make_test_img $size
index e1c1d407f083e8c089837bd67aa4bc864031f44d..eb766ad09f4d2a0eb32aac1d37fde8dd70fa9421 100755 (executable)
@@ -41,7 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # See 178 for more extensive tests across more formats
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 echo "== Huge file =="
 echo
index 1ea908ce3d6730e94ee6ce677fa031a07feefccb..528022e8d811221d0122f6ae64f545471bc4b008 100755 (executable)
@@ -43,7 +43,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 size=64M
 
index 61a88ac88d4690bffd77cbc53f2dcb818d886fc0..61932577644b20f1679ede097441d343dcbe0ebc 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 
 if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then
     _notrun "Requires a PC machine"
index bd1b71ae5ee9af67bf6d3f6379e79e1c1bad0ca4..ef7b9a94e29cbed2ef6cad94f04e370c923e24d7 100755 (executable)
@@ -39,7 +39,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 do_run_qemu()
 {
index 2c664793f417ba75f48ac653b01eaccd8fa35c5c..383d7d7f6168a6ac8f5ce3187ee625abd5418f9a 100755 (executable)
@@ -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.
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 # LUKS support may be possible, but it complicates things.
 _unsupported_fmt luks
 
index 1c0f8cafc2f7c5d5a37913ec50ec0816a28861f6..72d431f25175c927f1a09397ff827e6ab3eca52e 100755 (executable)
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2 qed
 _supported_proto file
-_supported_os Linux
 
 BACKING_IMG="${TEST_DIR}/backing.img"
 TEST_IMG="${TEST_DIR}/test.img"
index c1a452ff9a1f9b8d06e0c0a9ec6b20091c7d4c40..21ec8a2ad839739c4557a50d98655266e3357ce1 100755 (executable)
@@ -36,7 +36,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 # Repairing the corrupted image requires qemu-img check to store a
 # refcount up to 3, which requires at least two refcount bits.
index 7b063d7cfa77cc056ae8c85fa6e6e737920fb5c3..958c14f5a075260f33da6f813abfd31d57e1e639 100755 (executable)
@@ -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.
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 # LUKS support may be possible, but it complicates things.
 _unsupported_fmt luks
 
index f5482bb66944cd710c93e049b5d2c2a33dea193f..58a78a6098a96fef6382b2c5da66ecb57e3567d3 100755 (executable)
@@ -37,7 +37,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # This test is specific to qcow2
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 # This test needs clusters with at least a refcount of 2 so that
 # OFLAG_COPIED is not set.  refcount_bits=1 is therefore unsupported.
index 10cf144eb050a51c08720429d8a7c4f1a017fa27..bdd727a721bae584a11dd74633d8d4b2cc8e391e 100755 (executable)
@@ -38,7 +38,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto file
-_supported_os Linux
 
 do_run_qemu()
 {
index 5b2cbab9acea3f12ad45bba4b171fb92a1d1d742..c0b053ac30aeed00ac034efc6611ef7b7efc0eb6 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt generic
 _supported_proto rbd
-_supported_os Linux
 
 BOGUS_CONF=${TEST_DIR}/ceph-$$.conf
 touch "${BOGUS_CONF}"
index 41b4d465606e83cd7858827dc49fa6186737f70e..057cad204460d7b9ac2a97e0d4fb74a4b00cb0d0 100755 (executable)
@@ -47,7 +47,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt raw qcow2
 _supported_proto file
 # If porting to non-Linux, consider using socat instead of ss in common.nbd
-_supported_os Linux
 _require_command QEMU_NBD
 
 nbd_server_set_tcp_port
index d3e663ed65c2e888a2208d8fc726c34b7dc98dcc..b4cf95096db5370cd80c0cc239a5a8b455b98fd4 100755 (executable)
@@ -33,7 +33,6 @@ status=1      # failure is the default!
 
 _supported_fmt generic
 _supported_proto generic
-_supported_os Linux
 
 do_run_qemu()
 {
index fc50eb5dc1a0b5deaca6bb235e55ddc8d2a44e95..546a794d3d47cba217c557a2f5b94f66c7d8ac63 100755 (executable)
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 # Requires backing files and .bdrv_change_backing_file support
 _supported_fmt qcow2 qed
 _supported_proto file
-_supported_os Linux
 
 size=128M