Blame SOURCES/0051-chore-tests-add-AT_KEYWORDS-for-firewall-offline-cmd.patch
|
|
c8bceb |
From b93b267060215178b928d2dce61ed3cdc1615298 Mon Sep 17 00:00:00 2001
|
|
|
c8bceb |
From: Eric Garver <eric@garver.life>
|
|
|
c8bceb |
Date: Tue, 16 Apr 2019 16:36:56 -0400
|
|
|
c8bceb |
Subject: [PATCH 51/73] chore: tests: add AT_KEYWORDS for firewall-offline-cmd
|
|
|
c8bceb |
|
|
|
c8bceb |
We use the "offline" keyword.
|
|
|
c8bceb |
|
|
|
c8bceb |
(cherry picked from commit 2d7fc9b9f42fc451769e63b44a6b97a0977fa794)
|
|
|
c8bceb |
(cherry picked from commit 59b396b4da4ce580967e2175966fe04d0c5d8b3c)
|
|
|
c8bceb |
---
|
|
|
c8bceb |
src/tests/functions.at | 4 +++-
|
|
|
c8bceb |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
c8bceb |
|
|
|
c8bceb |
diff --git a/src/tests/functions.at b/src/tests/functions.at
|
|
|
c8bceb |
index 161c66bea961..4edc484ca402 100644
|
|
|
c8bceb |
--- a/src/tests/functions.at
|
|
|
c8bceb |
+++ b/src/tests/functions.at
|
|
|
c8bceb |
@@ -57,7 +57,9 @@ m4_define([FWD_START_TEST], [
|
|
|
c8bceb |
AT_CHECK([if ! cp /etc/firewalld/firewalld.conf ./firewalld.conf; then exit 77; fi])
|
|
|
c8bceb |
fi
|
|
|
c8bceb |
|
|
|
c8bceb |
- m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [], [
|
|
|
c8bceb |
+ m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [
|
|
|
c8bceb |
+ AT_KEYWORDS(offline)
|
|
|
c8bceb |
+ ], [
|
|
|
c8bceb |
m4_define_default([FIREWALL_BACKEND], [nftables])
|
|
|
c8bceb |
|
|
|
c8bceb |
AT_KEYWORDS(FIREWALL_BACKEND)
|
|
|
c8bceb |
--
|
|
|
c8bceb |
2.20.1
|
|
|
c8bceb |
|