On Wed, Apr 18, 2018 at 05:33:36PM +0200, Peter Krempa wrote:
Prepare the tests for adding the new parameter. The parameter was
introduced in qemu-2.7.0, so add a forked version of the test case to
see that it is formatted properly.
This test is also an example how the new testing macros should be used.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
.../disk-drive-write-cache.x86_64-2.6.0.args | 43 +++++++++++++++++++++
.../disk-drive-write-cache.x86_64-2.7.0.args | 43 +++++++++++++++++++++
.../disk-drive-write-cache.x86_64-latest.args | 45 ++++++++++++++++++++++
tests/qemuxml2argvdata/disk-drive-write-cache.xml | 45 ++++++++++++++++++++++
tests/qemuxml2argvtest.c | 3 ++
5 files changed, 179 insertions(+)
create mode 100644 tests/qemuxml2argvdata/disk-drive-write-cache.x86_64-2.6.0.args
create mode 100644 tests/qemuxml2argvdata/disk-drive-write-cache.x86_64-2.7.0.args
create mode 100644 tests/qemuxml2argvdata/disk-drive-write-cache.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/disk-drive-write-cache.xml
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano