]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virshtest: Filter multiple occurences of string to drop in testFilterLine
authorPeter Krempa <pkrempa@redhat.com>
Wed, 20 Mar 2024 16:45:56 +0000 (17:45 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:30 +0000 (14:24 +0200)
commitf9dbd34c4994f514e92ea9d64f2542ad28a5fefb
tree4eb6ddceb511089bd6522673426dde2eef97e5ce
parent99392689cbff20b6cb5983b9bc66f35b2faebf01
virshtest: Filter multiple occurences of string to drop in testFilterLine

Upcoming patches will require that possibly multiple occurences of the
string to drop are present in the output string thus we need to adapt
testFilterLine to handle them.

Additionally we drop the unused return value.

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