From 55350d15d86be7ee188a47d62237434593c0da19 Mon Sep 17 00:00:00 2001 Message-ID: <55350d15d86be7ee188a47d62237434593c0da19.1737975657.git.phrdina@redhat.com> From: Pavel Hrdina Date: Mon, 25 Mar 2024 13:25:32 +0100 Subject: [PATCH] testsuite: add test-spice vm definition This will test spice related changes. Follow up patches will change this behavior to remove spice related devices. Signed-off-by: Pavel Hrdina (cherry picked from commit 7a03f3efa8d3b9d6146687bf8f3bf0d3ef39b562) https://issues.redhat.com/browse/RHEL-17435 Signed-off-by: Pavel Hrdina --- .../compare/virt-xml-change-spice-to-vnc.xml | 11 +++++ .../virt-xml-remove-spice-graphics.xml | 14 +++++++ tests/data/testdriver/testsuite.xml | 41 +++++++++++++++++++ tests/test_cli.py | 4 ++ 4 files changed, 70 insertions(+) create mode 100644 tests/data/cli/compare/virt-xml-change-spice-to-vnc.xml create mode 100644 tests/data/cli/compare/virt-xml-remove-spice-graphics.xml diff --git a/tests/data/cli/compare/virt-xml-change-spice-to-vnc.xml b/tests/data/cli/compare/virt-xml-change-spice-to-vnc.xml new file mode 100644 index 000000000..edc667037 --- /dev/null +++ b/tests/data/cli/compare/virt-xml-change-spice-to-vnc.xml @@ -0,0 +1,11 @@ + + + +- ++ + + + + +Domain 'test-spice' defined successfully. +Changes will take effect after the domain is fully powered off. diff --git a/tests/data/cli/compare/virt-xml-remove-spice-graphics.xml b/tests/data/cli/compare/virt-xml-remove-spice-graphics.xml new file mode 100644 index 000000000..ed9f2a584 --- /dev/null +++ b/tests/data/cli/compare/virt-xml-remove-spice-graphics.xml @@ -0,0 +1,14 @@ + + + +- +- +- +- +- +