136e2c
From 102cc23034b595f6c02424f8a1ecb8b2df9f7aa0 Mon Sep 17 00:00:00 2001
136e2c
From: Eric Garver <eric@garver.life>
136e2c
Date: Fri, 12 Apr 2019 13:31:28 -0400
136e2c
Subject: [PATCH 50/73] improvement: tests: Use AT_KEYWORDS for backends
136e2c
136e2c
This allows
136e2c
136e2c
    # make check TESTSUITEFLAGS="-k nftables"
136e2c
136e2c
to test only the nftables backend.
136e2c
136e2c
(cherry picked from commit 98b3dab053c7b8c0dd9bb3b9e31eaba919f0c666)
136e2c
(cherry picked from commit 675fb78d629e499a27ba7b3a4301e828a990099f)
136e2c
---
136e2c
 src/tests/functions.at | 2 ++
136e2c
 1 file changed, 2 insertions(+)
136e2c
136e2c
diff --git a/src/tests/functions.at b/src/tests/functions.at
136e2c
index 6cd4878a9f03..161c66bea961 100644
136e2c
--- a/src/tests/functions.at
136e2c
+++ b/src/tests/functions.at
136e2c
@@ -60,6 +60,8 @@ m4_define([FWD_START_TEST], [
136e2c
     m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [], [
136e2c
         m4_define_default([FIREWALL_BACKEND], [nftables])
136e2c
 
136e2c
+        AT_KEYWORDS(FIREWALL_BACKEND)
136e2c
+
136e2c
         dnl don't unload modules or bother cleaning up, the namespace will be deleted
136e2c
         AT_CHECK([sed -i 's/^CleanupOnExit.*/CleanupOnExit=no/' ./firewalld.conf])
136e2c
 
136e2c
-- 
136e2c
2.20.1
136e2c