Skip to content

RFC Acceptance tests for qemu-img

Cleber Rosa qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Acceptance Tests: add QemuImgTest base classtests/acceptance/avocado_qemu/__init__.py+20 -00 replies
2/2qemu-img: consider a zero number of I/O requests an invalid countqemu-img.c tests/acceptance/qemu_img_bench.py tests/acceptance/qemu_img_bench.py.data/img +1 more+39 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/2] Acceptance tests for qemu-img

The initial goal of this RFC is to get feedback on tests not specific to the QEMU main binary, but specific to other components such as qemu-img.

For this experiment, a small issue with the zero and negative number of I/O operations given to the bench command was chosen.

Cleber Rosa (2):
Acceptance Tests: add QemuImgTest base class
qemu-img: consider a zero number of I/O requests an invalid count

 qemu-img.c                                  |   8 ++---
 tests/acceptance/avocado_qemu/__init__.py   |  20 ++++++++++++
 tests/acceptance/qemu_img_bench.py          |  34 ++++++++++++++++++++
 tests/acceptance/qemu_img_bench.py.data/img |   1 +
 tests/data/images/empty/raw                 | Bin 0 -> 1024 bytes
 5 files changed, 59 insertions(+), 4 deletions(-)
 create mode 100644 tests/acceptance/qemu_img_bench.py
 create mode 120000 tests/acceptance/qemu_img_bench.py.data/img
 create mode 100644 tests/data/images/empty/raw
Signature · 1 line
2.19.1