]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virshtest: Reimplement 'virsh-output' test
authorPeter Krempa <pkrempa@redhat.com>
Tue, 19 Mar 2024 14:19:26 +0000 (15:19 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:30 +0000 (14:24 +0200)
commitc96ac614a8b5ea299ad7df6eeb56ea94cd59e3d8
tree4142abf37a2f07a558a33eec962fd156f8f8f0eb
parent06f816cb7b2bdb0761d48069aba843893bcb036c
virshtest: Reimplement 'virsh-output' test

Adapt the 'tests/virsh-output-commands' file from 'virsh-output' test as
a source. Apart from expanding the bash function to each command, I've
also had to drop the negative tests for argument population, as a
command parsing error aborts the execution of the script right away
rather than just reporting the error.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/meson.build
tests/virsh-output [deleted file]
tests/virsh-output-commands [deleted file]
tests/virsh-output.out [deleted file]
tests/virshtest.c
tests/virshtestdata/attach-disk.in [new file with mode: 0755]
tests/virshtestdata/attach-disk.out [new file with mode: 0644]