From c3584265ba6262497f1c65bc8894cae5572a76f1 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Mon, 19 Sep 2016 09:52:10 -0400 Subject: [PATCH] tests: Add blkdeviotune-max xml2xmltest It was missing... Also since I'm using the soft link from qemuxml2xmloutdata to the qemuxml2argvdata file, modify the output file to have the necessary
elements plus the mouse and keyboard. Signed-off-by: John Ferlan --- .../qemuxml2argv-blkdeviotune-max.xml | 14 +++++++++++--- .../qemuxml2xmlout-blkdeviotune-max.xml | 1 + tests/qemuxml2xmltest.c | 1 + 3 files changed, 13 insertions(+), 3 deletions(-) create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-blkdeviotune-max.xml diff --git a/tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.xml b/tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.xml index 8b3e05c2e0..ac4a0c05a5 100644 --- a/tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.xml +++ b/tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.xml @@ -43,9 +43,17 @@
- - + +
+ + +
+ - + + + +
+ diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-blkdeviotune-max.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-blkdeviotune-max.xml new file mode 120000 index 0000000000..183e1f1c03 --- /dev/null +++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-blkdeviotune-max.xml @@ -0,0 +1 @@ +../qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.xml \ No newline at end of file diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index fb05c85714..4b5898694b 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -607,6 +607,7 @@ mymain(void) DO_TEST("usb-redir-filter", NONE); DO_TEST("usb-redir-filter-version", NONE); DO_TEST("blkdeviotune", NONE); + DO_TEST("blkdeviotune-max", NONE); DO_TEST("controller-usb-order", NONE); DO_TEST_FULL("seclabel-dynamic-baselabel", WHEN_INACTIVE, GIC_NONE, NONE); -- GitLab