mbox series

[0/3] iotests: check whitelisted formats

Message ID 1551694120-768127-1-git-send-email-andrey.shinkevich@virtuozzo.com (mailing list archive)
Headers show
Series iotests: check whitelisted formats | expand

Message

Andrey Shinkevich March 4, 2019, 10:08 a.m. UTC
Some test cases require specific formats to be supported by QEMU. The
list of formats supported by the block layer doesn't take whitelists
into account. This series manages this issue. The method decorator
skip_if_unsupported() checks if requested formats are whitelisted.
The sample output is shown with the sample test #139.

Andrey Shinkevich (3):
  block: iterate_format with account of whitelisting
  iotests: ask QEMU for supported formats
  iotests: check whitelisted formats

 block.c                       | 23 ++++++++++++++++----
 blockdev.c                    |  4 +++-
 include/block/block.h         |  2 +-
 qemu-img.c                    |  2 +-
 tests/qemu-iotests/139        |  2 ++
 tests/qemu-iotests/check      | 16 +++++++++++++-
 tests/qemu-iotests/iotests.py | 50 +++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 91 insertions(+), 8 deletions(-)