]> xenbits.xensource.com Git - libvirt.git/commit
virshtest: Adapt tests for domain id lookup and state query to DO_TEST_SCRIPT
authorPeter Krempa <pkrempa@redhat.com>
Wed, 20 Mar 2024 16:48:12 +0000 (17:48 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:30 +0000 (14:24 +0200)
commita5e203417acf64905eb86b330d3219f25e585757
tree6e575e90afbb864496bf077518444975d54a7175
parent4b8581b8efda662659796bfb967fd3c92607b8b6
virshtest: Adapt tests for domain id lookup and state query to DO_TEST_SCRIPT

All of the commands can be tested in one 'virsh' run in batch mode and
tested against a file rather than hardcoded strings.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virshtest.c
tests/virshtestdata/domain-id.in [new file with mode: 0644]
tests/virshtestdata/domain-id.out [new file with mode: 0644]