Blob Blame History Raw
From b93b267060215178b928d2dce61ed3cdc1615298 Mon Sep 17 00:00:00 2001
From: Eric Garver <eric@garver.life>
Date: Tue, 16 Apr 2019 16:36:56 -0400
Subject: [PATCH 51/73] chore: tests: add AT_KEYWORDS for firewall-offline-cmd

We use the "offline" keyword.

(cherry picked from commit 2d7fc9b9f42fc451769e63b44a6b97a0977fa794)
(cherry picked from commit 59b396b4da4ce580967e2175966fe04d0c5d8b3c)
---
 src/tests/functions.at | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tests/functions.at b/src/tests/functions.at
index 161c66bea961..4edc484ca402 100644
--- a/src/tests/functions.at
+++ b/src/tests/functions.at
@@ -57,7 +57,9 @@ m4_define([FWD_START_TEST], [
         AT_CHECK([if ! cp /etc/firewalld/firewalld.conf ./firewalld.conf; then exit 77; fi])
     fi
 
-    m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [], [
+    m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [
+        AT_KEYWORDS(offline)
+    ], [
         m4_define_default([FIREWALL_BACKEND], [nftables])
 
         AT_KEYWORDS(FIREWALL_BACKEND)
-- 
2.20.1