mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00: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:
parent
31354b5b32
commit
42dc7a471d
@ -135,6 +135,8 @@ mymain(void)
|
|||||||
ret = -1; \
|
ret = -1; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
virFirewallSetLockOverride(true);
|
||||||
|
|
||||||
if (virFirewallSetBackend(VIR_FIREWALL_BACKEND_DIRECT) < 0) {
|
if (virFirewallSetBackend(VIR_FIREWALL_BACKEND_DIRECT) < 0) {
|
||||||
ret = -1;
|
ret = -1;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
@ -1168,6 +1168,8 @@ mymain(void)
|
|||||||
RUN_TEST_DIRECT(name, method)
|
RUN_TEST_DIRECT(name, method)
|
||||||
# endif /* ! WITH_DBUS */
|
# endif /* ! WITH_DBUS */
|
||||||
|
|
||||||
|
virFirewallSetLockOverride(true);
|
||||||
|
|
||||||
RUN_TEST("single group", testFirewallSingleGroup);
|
RUN_TEST("single group", testFirewallSingleGroup);
|
||||||
RUN_TEST("remove rule", testFirewallRemoveRule);
|
RUN_TEST("remove rule", testFirewallRemoveRule);
|
||||||
RUN_TEST("many groups", testFirewallManyGroups);
|
RUN_TEST("many groups", testFirewallManyGroups);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user