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