Blame SOURCES/0048-fix-tests-functions-ignore-warnings-about-missing-ip.patch

c8bceb
From a6f7c28f573b52b77278eebf71534a6b4064a340 Mon Sep 17 00:00:00 2001
c8bceb
From: Eric Garver <eric@garver.life>
c8bceb
Date: Mon, 13 May 2019 10:27:07 -0400
c8bceb
Subject: [PATCH 48/73] fix: tests/functions: ignore warnings about missing
c8bceb
 ip6tables
c8bceb
c8bceb
We allow running firewalld without ip6tables, as such it's not an error
c8bceb
for it to be missing during testsuite execution.
c8bceb
c8bceb
(cherry picked from commit 3ac719c1908d4d86d344ebc7b1e105545471046a)
c8bceb
(cherry picked from commit 1e7e05ba07c78f6c21de818d1ab2f18d3c31534e)
c8bceb
---
c8bceb
 src/tests/functions.at | 3 +++
c8bceb
 1 file changed, 3 insertions(+)
c8bceb
c8bceb
diff --git a/src/tests/functions.at b/src/tests/functions.at
c8bceb
index afd7917d7369..6cd4878a9f03 100644
c8bceb
--- a/src/tests/functions.at
c8bceb
+++ b/src/tests/functions.at
c8bceb
@@ -132,6 +132,9 @@ m4_define([FWD_START_TEST], [
c8bceb
 
c8bceb
 m4_define([FWD_END_TEST], [
c8bceb
     m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [], [
c8bceb
+        IF_IPV6_SUPPORTED([], [
c8bceb
+            sed -i "/WARNING: ip6tables not usable, disabling IPv6 firewall/d" ./firewalld.log
c8bceb
+        ])
c8bceb
         if test x"$1" != x"ignore"; then
c8bceb
             if test -n "$1"; then
c8bceb
                 sed -i $1 ./firewalld.log
c8bceb
-- 
c8bceb
2.20.1
c8bceb