|
|
c8bceb |
From 14cf032171824edd2ecfee0a497a5bc58ee7af02 Mon Sep 17 00:00:00 2001
|
|
|
c8bceb |
From: Eric Garver <eric@garver.life>
|
|
|
c8bceb |
Date: Fri, 26 Jul 2019 13:56:54 -0400
|
|
|
c8bceb |
Subject: [PATCH 72/73] fix: tests/regression/rhbz1723610: make output reliable
|
|
|
c8bceb |
|
|
|
c8bceb |
The rule listing is unordered, so lets make it reliable.
|
|
|
c8bceb |
|
|
|
c8bceb |
Fixes: 75fc4876dbfb ("test: coverage for rhbz 1723610 and gh #385")
|
|
|
c8bceb |
(cherry picked from commit 645fc816c09d2d5f767fcecf4bea3d61219780e9)
|
|
|
c8bceb |
(cherry picked from commit c8b851866fd7a5731c9f2ef66f0052ac5e7d0497)
|
|
|
c8bceb |
---
|
|
|
c8bceb |
src/tests/regression/rhbz1723610.at | 2 --
|
|
|
c8bceb |
1 file changed, 2 deletions(-)
|
|
|
c8bceb |
|
|
|
c8bceb |
diff --git a/src/tests/regression/rhbz1723610.at b/src/tests/regression/rhbz1723610.at
|
|
|
c8bceb |
index f020141e1808..3eccc0436ed7 100644
|
|
|
c8bceb |
--- a/src/tests/regression/rhbz1723610.at
|
|
|
c8bceb |
+++ b/src/tests/regression/rhbz1723610.at
|
|
|
c8bceb |
@@ -19,11 +19,9 @@ 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 ipv4 filter INPUT 0 -p tcp --dport 22 -j ACCEPT])
|
|
|
c8bceb |
FWD_CHECK([-q --direct --add-rule ipv6 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 |
-ipv4 filter INPUT 0 -p tcp --dport 22 -j ACCEPT
|
|
|
c8bceb |
ipv6 filter INPUT 0 -p tcp --dport 22 -j ACCEPT
|
|
|
c8bceb |
])
|
|
|
c8bceb |
|
|
|
c8bceb |
--
|
|
|
c8bceb |
2.20.1
|
|
|
c8bceb |
|