]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virshtest: Prepare for testing against output files
authorPeter Krempa <pkrempa@redhat.com>
Tue, 12 Mar 2024 12:52:48 +0000 (13:52 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:30 +0000 (14:24 +0200)
commit86bf707838455a71cc5b980732878f046b26e704
tree2ef11a1a3ca4da43e8f35441d141d8130604dcb0
parentde9dfeee9a688149fb91ff4bd0511319f849278e
virshtest: Prepare for testing against output files

Modify testCompareOutputLit to take a filename argument and compare it
against and populate the arguments.

For tests which don't use the 'data' from virTestRun, we'll expect to
pass the output filename, thus we also propagate it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
build-aux/syntax-check.mk
tests/virshtest.c