Re: [libvirt PATCH v2 08/21] tests: use virfirewallmock instead of hasNetfilterTools

2021-04-20 Thread Daniel P . Berrangé
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 >

[libvirt PATCH v2 08/21] tests: use virfirewallmock instead of hasNetfilterTools

2021-04-19 Thread Pavel Hrdina
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 --- tests/networkxml2firewalltest.c | 16 ++--