mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Set up two more overrides for root builders
There are two more places after commit 3865941b that need to be adapted
in order to get rid of some test failures when building as root.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
@@ -135,6 +135,8 @@ mymain(void)
|
||||
ret = -1; \
|
||||
} while (0)
|
||||
|
||||
virFirewallSetLockOverride(true);
|
||||
|
||||
if (virFirewallSetBackend(VIR_FIREWALL_BACKEND_DIRECT) < 0) {
|
||||
ret = -1;
|
||||
goto cleanup;
|
||||
|
||||
@@ -1168,6 +1168,8 @@ mymain(void)
|
||||
RUN_TEST_DIRECT(name, method)
|
||||
# endif /* ! WITH_DBUS */
|
||||
|
||||
virFirewallSetLockOverride(true);
|
||||
|
||||
RUN_TEST("single group", testFirewallSingleGroup);
|
||||
RUN_TEST("remove rule", testFirewallRemoveRule);
|
||||
RUN_TEST("many groups", testFirewallManyGroups);
|
||||
|
||||
Reference in New Issue
Block a user