]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: virsh: Add simple testsuite for using --print-xml of various commands
authorPeter Krempa <pkrempa@redhat.com>
Thu, 19 Nov 2020 14:09:10 +0000 (15:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Nov 2020 13:44:39 +0000 (14:44 +0100)
commited46c9921fd4542147369ebab8c99528a2606159
treef7a3c784c63a7fcbd26964dc1167f2a2168e1d01
parent24ce5a6cd261485d636cf125545f3e1902d0cec6
tests: virsh: Add simple testsuite for using --print-xml of various commands

The test uses a script and compares the output against a template file.
VIR_TEST_REGENREATE_OUTPUT can be used on test failures. This test will
be marked as expensive once the refactors it guards are done.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
tests/meson.build
tests/virsh-output [new file with mode: 0755]
tests/virsh-output-commands [new file with mode: 0755]
tests/virsh-output.out [new file with mode: 0644]