On Mon, Apr 19, 2021 at 07:14:11PM +0200, Pavel Hrdina wrote: > Instead of checking for specific error that the binaries are not > available mock the virFindFileInPath function. This way we don't have > to skip these tests on host where the binaries are missing. > > Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> > --- > tests/networkxml2firewalltest.c | 16 ++-------------- > tests/nwfilterebiptablestest.c | 15 +-------------- > tests/nwfilterxml2firewalltest.c | 14 +------------- > tests/virfirewalltest.c | 15 ++------------- > 4 files changed, 6 insertions(+), 54 deletions(-) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|