Skip to content

Commit

Permalink
iotests: Disable some tests for compat=0.10
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
XanClic committed Jan 23, 2018
1 parent d6ac6e9 commit 94254c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/qemu-iotests/080
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions tests/qemu-iotests/130
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions tests/qemu-iotests/137
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/qemu-iotests/176
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 94254c9

Please sign in to comment.