OSDN Git Service

tests/qemu-iotests/040: Skip TestCommitWithFilters without 'throttle'
authorThomas Huth <thuth@redhat.com>
Wed, 23 Feb 2022 12:31:27 +0000 (13:31 +0100)
committerHanna Reitz <hreitz@redhat.com>
Mon, 7 Mar 2022 08:19:20 +0000 (09:19 +0100)
commit024354ea9164d3c4b6fd766784939fe39fa4e166
tree443e42295e7106ced1734e3c527fb802b51204ce
parent45e62b464a5fa62f0f005b76f59ad587944cd55f
tests/qemu-iotests/040: Skip TestCommitWithFilters without 'throttle'

iotest 040 already has some checks for the availability of the 'throttle'
driver, but some new code has been added in the course of time that
depends on 'throttle' but does not check for its availability. Add
a check to the TestCommitWithFilters class so that this iotest now
also passes again if 'throttle' has not been enabled in the QEMU
binaries.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220223123127.3206042-1-thuth@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/040