[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [RFC PATCH 0/2] Acceptance tests for qemu-img
From: |
Cleber Rosa |
Subject: |
[Qemu-block] [RFC PATCH 0/2] Acceptance tests for qemu-img |
Date: |
Fri, 9 Nov 2018 17:12:11 -0500 |
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
--
2.19.1
- [Qemu-block] [RFC PATCH 0/2] Acceptance tests for qemu-img,
Cleber Rosa <=