Blame SOURCES/0050-improvement-tests-Use-AT_KEYWORDS-for-backends.patch

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