]> xenbits.xensource.com Git - libvirt.git/commit
qemuxmlconftest: Populate output/error file only when needed
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Jan 2024 12:35:39 +0000 (13:35 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 24 Jan 2024 08:19:27 +0000 (09:19 +0100)
commit3e11939e6ef432200ee0f7ecaac50cd5ce6c29f2
tree7a9597963d6690a03810ba3818c57033d32dcb2f
parentf997fcca71a16b102e6ee663a3fb86bed8de9d7d
qemuxmlconftest: Populate output/error file only when needed

Populate the output filename strings only when the files are expected to
exist, so that other logic can be based on the presence of the strings
rather than having to re-check the test flags for expected state.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/qemuxmlconftest.c