iotests: Disable some tests for compat=0.10
authorMax Reitz <mreitz@redhat.com>
Wed, 17 Jan 2018 16:54:20 +0000 (10:54 -0600)
committerMax Reitz <mreitz@redhat.com>
Tue, 23 Jan 2018 11:34:43 +0000 (12:34 +0100)
Tests 080, 130, 137, and 176 simply do not work with compat=0.10 for the
reasons stated there.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20171123020832.8165-10-mreitz@redhat.com>
[eblake: fix 177 in a separate commit]
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 20180117165420.15946-3-eblake@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/080
tests/qemu-iotests/130
tests/qemu-iotests/137
tests/qemu-iotests/176

index 55044c700bedce5571076319822b20ead8b45a5d..1c2bd85742a68aa4853387247b642849a699f9e5 100755 (executable)
@@ -41,8 +41,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file
 _supported_os Linux
-# Internal snapshots are (currently) impossible with refcount_bits=1
-_unsupported_imgopts 'refcount_bits=1[^0-9]'
+# - Internal snapshots are (currently) impossible with refcount_bits=1
+# - This is generally a test for compat=1.1 images
+_unsupported_imgopts 'refcount_bits=1[^0-9]' 'compat=0.10'
 
 header_size=104
 
index e7e43de6d607cce6b9e64505063cc9eed9b3dd3a..2c4b94da1bf567ed0537804a4f5d3a7b311c541e 100755 (executable)
@@ -45,6 +45,8 @@ _supported_fmt qcow2
 _supported_proto generic
 _unsupported_proto vxhs
 _supported_os Linux
+# We are going to use lazy-refcounts
+_unsupported_imgopts 'compat=0.10'
 
 qemu_comm_method="monitor"
 
index eb91e517d7d4ac2a15eddb5f3182c1478f686a82..5a01250005f1ebfecfdcdb1a3e3ee64e3d70731b 100755 (executable)
@@ -41,6 +41,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file
 _supported_os Linux
+# We are going to use lazy-refcounts
+_unsupported_imgopts 'compat=0.10'
 
 
 _make_test_img 64M
index b8dc17c59205d2a8a44e3a6d79b035cf09503ac8..d38b3aeb919b8d73efeec19cdb585871e09f2bcf 100755 (executable)
@@ -48,6 +48,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt qcow2
 _supported_proto file
 _supported_os Linux
+# Persistent dirty bitmaps require compat=1.1
+_unsupported_imgopts 'compat=0.10'
 
 function run_qemu()
 {