34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From b33d40f277444f0af0f780b68389af4098ab639b Mon Sep 17 00:00:00 2001
|
|
From: Eric Garver <eric@garver.life>
|
|
Date: Mon, 6 Jan 2020 15:38:28 -0500
|
|
Subject: [PATCH 21/45] test(gh509): only run test for nftables backend
|
|
|
|
The test wipes the config and therefore restarts with defaults (e.g.
|
|
the nftables backend). Some hosts under test may not have nftables
|
|
available so the test will fail. Only use the test if FIREWALL_BACKEND
|
|
is nftables.
|
|
|
|
(cherry picked from commit 61140a7ed9d6b26cd030d366eb7c9111a3ad45df)
|
|
(cherry picked from commit 4d3907862535298e6f8b6bc566bdce10a86647bc)
|
|
---
|
|
src/tests/regression/gh509.at | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/tests/regression/gh509.at b/src/tests/regression/gh509.at
|
|
index 00cc51c9c51f..1c151066c2bb 100644
|
|
--- a/src/tests/regression/gh509.at
|
|
+++ b/src/tests/regression/gh509.at
|
|
@@ -1,3 +1,4 @@
|
|
+m4_if(nftables, FIREWALL_BACKEND, [
|
|
FWD_START_TEST([missing firewalld.conf file])
|
|
AT_KEYWORDS(gh509)
|
|
|
|
@@ -12,3 +13,4 @@ FWD_RESTART
|
|
FWD_END_TEST([-e '/ERROR: Failed to load/d' dnl
|
|
-e '/WARNING:.*No such file or directory:.*/d' dnl
|
|
-e '/WARNING: Using fallback firewalld configuration settings/d'])
|
|
+])
|
|
--
|
|
2.27.0
|
|
|