Blame SOURCES/0127-fix-tests-failures-if-modprobe-not-usable.patch

bb602c
From 7b91fa37de7a6c8dc9160a0bf5222e0c66dfdf20 Mon Sep 17 00:00:00 2001
bb602c
From: Eric Garver <eric@garver.life>
bb602c
Date: Mon, 3 Feb 2020 08:25:32 -0500
bb602c
Subject: [PATCH 127/146] fix: tests: failures if modprobe not usable
bb602c
bb602c
This is a stable branch only fix. It's necessary because we won't be
bb602c
backporting b3faacee1096 ("improvement: always create conntrack helper
bb602c
rules") from the master branch.
bb602c
bb602c
Fixes: cef1e52af875 ("fix: failure to load modules no longer fatal")
bb602c
(cherry picked from commit ea03768d725b5b5c7b4009e500352c830880042d)
bb602c
(cherry picked from commit 9a67940e3108d2ea3bc5b052a8c07aa7c2f75e40)
bb602c
---
bb602c
 src/tests/functions.at | 2 ++
bb602c
 1 file changed, 2 insertions(+)
bb602c
bb602c
diff --git a/src/tests/functions.at b/src/tests/functions.at
bb602c
index 881b8b7c067e..6fdb33824042 100644
bb602c
--- a/src/tests/functions.at
bb602c
+++ b/src/tests/functions.at
bb602c
@@ -144,6 +144,8 @@ m4_define([FWD_END_TEST], [
bb602c
             sed -i "/WARNING: ip6tables not usable, disabling IPv6 firewall/d" ./firewalld.log
bb602c
         ])
bb602c
         sed -i "/modprobe: ERROR:/d" ./firewalld.log
bb602c
+        sed -i "/WARNING: Failed to load nf_conntrack module/d" ./firewalld.log
bb602c
+        sed -i "/WARNING: Failed to get and parse nf_conntrack_helper setting/d" ./firewalld.log
bb602c
         if test x"$1" != x"ignore"; then
bb602c
             if test -n "$1"; then
bb602c
                 sed -i $1 ./firewalld.log
bb602c
-- 
bb602c
2.23.0
bb602c