From: Peter Krempa Date: Fri, 15 Dec 2023 15:30:32 +0000 (+0100) Subject: qemuxml2xmltest: Parse all input files as inactive X-Git-Tag: v10.1.0-rc1~257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66eeeb610c4a69b0b4a94d0db799b83d46fe57bb;p=thirdparty%2Flibvirt.git qemuxml2xmltest: Parse all input files as inactive In previous patches we've added testing of XML's explicitly parsed as active (ensuring that it e.g. has a domain id) formatted into both active and inactive versions. Now qemuxml2xmltest can be simplified by making it test only XMLs parsed as inactive. To do this we pass VIR_DOMAIN_DEF_PARSE_INACTIVE in parseFlags. This will also cause that all output files will become identical so the setup of the test cases can be simplified by using the non-split output file name. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/qemuxml2xmloutdata/channel-unix-source-path-active.x86_64-latest.xml b/tests/qemuxml2xmloutdata/channel-unix-source-path-active.x86_64-latest.xml deleted file mode 100644 index 12a981438c..0000000000 --- a/tests/qemuxml2xmloutdata/channel-unix-source-path-active.x86_64-latest.xml +++ /dev/null @@ -1,82 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219100 - 219100 - 1 - - hvm - - - - qemu64 - - - destroy - restart - destroy - - /usr/bin/qemu-system-x86_64 - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - -