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

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