mbox series

[00/10] iotests: Remove duplicated blockdev_create()

Message ID 20191216170857.11880-1-kwolf@redhat.com
Headers show
Series iotests: Remove duplicated blockdev_create() | expand

Message

Kevin Wolf Dec. 16, 2019, 5:08 p.m. UTC
We kept copying (and occasionally slightly modifying) the
blockdev_create() function first added in 206. With now nine tests
sharing duplicates of almost the same function (and me being about to
add the tenth one), it's probably time to unify them into a single
iotests.py function.

Kevin Wolf (10):
  iotests: Create VM.blockdev_create()
  iotests: 255: Drop blockdev_create()
  iotests: 206: Convert to VM.blockdev_create()
  iotests: 210: Convert to VM.blockdev_create()
  iotests: 212: Convert to VM.blockdev_create()
  iotests: 213: Convert to VM.blockdev_create()
  iotests: 237: Convert to VM.blockdev_create()
  iotests: 266: Convert to VM.blockdev_create()
  iotests: 207: Remove duplication with VM.blockdev_create()
  iotests: 211: Remove duplication with VM.blockdev_create()

 tests/qemu-iotests/206        | 232 ++++++++++++++++------------------
 tests/qemu-iotests/207        |   8 +-
 tests/qemu-iotests/210        |  81 ++++++------
 tests/qemu-iotests/211        |  12 +-
 tests/qemu-iotests/212        | 101 +++++++--------
 tests/qemu-iotests/213        | 113 ++++++++---------
 tests/qemu-iotests/237        | 139 ++++++++++----------
 tests/qemu-iotests/255        |  10 --
 tests/qemu-iotests/266        |  69 +++++-----
 tests/qemu-iotests/266.out    |  14 ++
 tests/qemu-iotests/iotests.py |  16 +++
 11 files changed, 374 insertions(+), 421 deletions(-)