Blame SOURCES/0022-test-offline-always-allow-ipset-tests.patch

63f414
From be0b7cac7e80d51cc976085f9575b0feb3f1fbe7 Mon Sep 17 00:00:00 2001
63f414
From: Eric Garver <eric@garver.life>
63f414
Date: Fri, 19 Feb 2021 10:27:18 -0500
63f414
Subject: [PATCH 22/22] test(offline): always allow ipset tests
63f414
63f414
(cherry picked from commit 50c713a8b82be5a3499a15f825cdceb373fe3698)
63f414
(cherry picked from commit f17e1937597455257a29ae848ea51c5e089c1077)
63f414
---
63f414
 src/tests/functions.at | 2 ++
63f414
 1 file changed, 2 insertions(+)
63f414
63f414
diff --git a/src/tests/functions.at b/src/tests/functions.at
63f414
index 8632f49e442f..54afcf14585a 100644
63f414
--- a/src/tests/functions.at
63f414
+++ b/src/tests/functions.at
63f414
@@ -519,6 +519,7 @@ m4_define([DBUS_SET], [
63f414
 ])
63f414
 
63f414
 m4_define([CHECK_IPSET], [
63f414
+    m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [], [
63f414
     m4_if(nftables, FIREWALL_BACKEND, [
63f414
         dnl If our nft binary has buggy flush set, then skip the test
63f414
         NS_CHECK([nft add table inet firewalld_check_ipset])
63f414
@@ -537,6 +538,7 @@ m4_define([CHECK_IPSET], [
63f414
 
63f414
         NS_CHECK([nft delete table inet firewalld_check_ipset])
63f414
     ])
63f414
+    ])
63f414
 ])
63f414
 
63f414
 m4_define([CHECK_IPSET_HASH_MAC], [
63f414
-- 
63f414
2.27.0
63f414