]> git.ipfire.org Git - thirdparty/libvirt.git/commit
genericxml2xmltest: Modify cachetune test to include id
authorKristina Hanicova <khanicov@redhat.com>
Tue, 20 Jul 2021 12:58:09 +0000 (14:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Jul 2021 14:43:46 +0000 (16:43 +0200)
commitb0b5820efee7313b9471013821f2ec434bd87853
treefd95886f386f5acdcc9868c61b04be6d3c2b2417
parentb78bfd4c544e601d3e0e45fa8ab478756d6f7f28
genericxml2xmltest: Modify cachetune test to include id

I changed DO_TEST_DIFFERENT to DO_TEST, which allows us to remove
the duplicate out file. I also added id attribute for domain
element in order to parse it as a live XML ('cachetune id' is in
the output of only live XMLs). Lastly I added id of cachetune to
test its output value.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/genericxml2xmlindata/cachetune.xml
tests/genericxml2xmloutdata/cachetune.xml [deleted file]
tests/genericxml2xmltest.c