Blame SOURCES/0049-test-regression-rhbz1855140.at-avoid-IPv6-tests-if-I.patch

00d018
From 5326d7a86d6e7413dee343b795a352d8b4e6ab0d Mon Sep 17 00:00:00 2001
00d018
From: Eric Garver <eric@garver.life>
00d018
Date: Mon, 10 Aug 2020 09:33:22 -0400
00d018
Subject: [PATCH 49/62] test(regression/rhbz1855140.at): avoid IPv6 tests if
00d018
 IPv6 not available
00d018
00d018
Fixes: 87ec14dddd74 ("test(rich): icmptypes with one family")
00d018
(cherry picked from commit a47819d346fbd0f4d4d382a6a795c76c7f443a3b)
00d018
(cherry picked from commit 1b4fea7277c26026ecbe09f79928c794489424b9)
00d018
---
00d018
 src/tests/regression/rhbz1855140.at | 2 ++
00d018
 1 file changed, 2 insertions(+)
00d018
00d018
diff --git a/src/tests/regression/rhbz1855140.at b/src/tests/regression/rhbz1855140.at
00d018
index 8059e29fe71a..cea943e0bf24 100644
00d018
--- a/src/tests/regression/rhbz1855140.at
00d018
+++ b/src/tests/regression/rhbz1855140.at
00d018
@@ -2,7 +2,9 @@ FWD_START_TEST([rich rule icmptypes with one family])
00d018
 AT_KEYWORDS(rich icmp rhbz1855140)
00d018
 
00d018
 FWD_CHECK([--permanent --zone public --add-rich-rule='rule icmp-type name="echo-request" accept'], 0, ignore)
00d018
+IF_HOST_SUPPORTS_IPV6_RULES([
00d018
 FWD_CHECK([--permanent --zone public --add-rich-rule='rule icmp-type name="neighbour-advertisement" accept'], 0, ignore)
00d018
+])
00d018
 FWD_CHECK([--permanent --zone public --add-rich-rule='rule icmp-type name="timestamp-request" accept'], 0, ignore)
00d018
 FWD_RELOAD
00d018
 NFT_LIST_RULES([inet], [filter_IN_public_allow], 0, [dnl
00d018
-- 
00d018
2.28.0
00d018