From 97d792d961c3999f9e4cb3ab1e54ba59a62acdee Mon Sep 17 00:00:00 2001
From: Eric Garver <eric@garver.life>
Date: Fri, 26 Jul 2019 14:17:28 -0400
Subject: [PATCH 73/73] fix: tests/regression/rhbz1723610: avoid calling IPv6
backend
We support running without IPv6, so calling the backend in the test
case.
Fixes: 75fc4876dbfb ("test: coverage for rhbz 1723610 and gh #385")
(cherry picked from commit 38978bfde28a3fea9fb4cc61d2bb30ee5474e341)
(cherry picked from commit c4b3c7ef2d2136992cd745ef7157f20e0e385665)
---
src/tests/regression/rhbz1723610.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/regression/rhbz1723610.at b/src/tests/regression/rhbz1723610.at
index 3eccc0436ed7..35feed2bda9f 100644
--- a/src/tests/regression/rhbz1723610.at
+++ b/src/tests/regression/rhbz1723610.at
@@ -19,10 +19,10 @@ FWD_RELOAD
FWD_CHECK([--direct --get-all-rules], 0, [dnl
ipv4 filter OUTPUT 0 -d 127.0.0.1 -p tcp --dport 22 -j ACCEPT
])
-FWD_CHECK([-q --direct --add-rule ipv6 filter INPUT 0 -p tcp --dport 22 -j ACCEPT])
+FWD_CHECK([-q --direct --add-rule ipv4 filter INPUT 0 -p tcp --dport 22 -j ACCEPT])
FWD_CHECK([-q --direct --remove-rules ipv4 filter OUTPUT])
FWD_CHECK([--direct --get-all-rules], 0, [dnl
-ipv6 filter INPUT 0 -p tcp --dport 22 -j ACCEPT
+ipv4 filter INPUT 0 -p tcp --dport 22 -j ACCEPT
])
FWD_END_TEST
--
2.20.1