|
|
40251c |
From 9ffa72e5b9b3d36f8a2b52a3dcaac519f7f08b5e Mon Sep 17 00:00:00 2001
|
|
|
40251c |
From: Eric Garver <eric@garver.life>
|
|
|
40251c |
Date: Wed, 29 Jan 2020 10:56:06 -0500
|
|
|
40251c |
Subject: [PATCH 34/37] chore: test: retab some test cases
|
|
|
40251c |
|
|
|
40251c |
Replace leading tabs with spaces.
|
|
|
40251c |
|
|
|
40251c |
(cherry picked from commit 890d8a60893a0c3975b792bcbd3a6c65419a8e8c)
|
|
|
40251c |
(cherry picked from commit 9b2609406c0f20681bc02f98b24091e8f509e26f)
|
|
|
40251c |
---
|
|
|
40251c |
src/tests/features/helpers_custom.at | 120 +++++++++++++--------------
|
|
|
40251c |
src/tests/regression/gh453.at | 68 +++++++--------
|
|
|
40251c |
src/tests/regression/rhbz1506742.at | 2 +-
|
|
|
40251c |
src/tests/regression/rhbz1734765.at | 28 +++----
|
|
|
40251c |
4 files changed, 109 insertions(+), 109 deletions(-)
|
|
|
40251c |
|
|
|
40251c |
diff --git a/src/tests/features/helpers_custom.at b/src/tests/features/helpers_custom.at
|
|
|
40251c |
index bf673bd70b33..bd4b52cfb1d6 100644
|
|
|
40251c |
--- a/src/tests/features/helpers_custom.at
|
|
|
40251c |
+++ b/src/tests/features/helpers_custom.at
|
|
|
40251c |
@@ -33,32 +33,32 @@ ftptest
|
|
|
40251c |
FWD_CHECK([-q --add-service=ftptest])
|
|
|
40251c |
|
|
|
40251c |
NFT_LIST_RULES([inet], [filter_IN_public_allow], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- chain filter_IN_public_allow {
|
|
|
40251c |
- tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
- ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 2121 ct helper set "helper-ftptest-tcp"
|
|
|
40251c |
- tcp dport 2121 ct state new,untracked accept
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ chain filter_IN_public_allow {
|
|
|
40251c |
+ tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
+ ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 2121 ct helper set "helper-ftptest-tcp"
|
|
|
40251c |
+ tcp dport 2121 ct state new,untracked accept
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
IPTABLES_LIST_RULES([raw], [PRE_public_allow], 0, [dnl
|
|
|
40251c |
- CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
+ CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
])
|
|
|
40251c |
IPTABLES_LIST_RULES([filter], [IN_public_allow], 0, [dnl
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
])
|
|
|
40251c |
IP6TABLES_LIST_RULES([raw], [PRE_public_allow], 0, [dnl
|
|
|
40251c |
- CT tcp ::/0 ::/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
+ CT tcp ::/0 ::/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
])
|
|
|
40251c |
IP6TABLES_LIST_RULES([filter], [IN_public_allow], 0, [dnl
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
])
|
|
|
40251c |
|
|
|
40251c |
dnl Same thing as above, but with the new "helper" in service.
|
|
|
40251c |
@@ -90,32 +90,32 @@ ftptest
|
|
|
40251c |
FWD_CHECK([-q --add-service=ftptest])
|
|
|
40251c |
|
|
|
40251c |
NFT_LIST_RULES([inet], [filter_IN_public_allow], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- chain filter_IN_public_allow {
|
|
|
40251c |
- tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
- ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 2121 ct helper set "helper-ftptest-tcp"
|
|
|
40251c |
- tcp dport 2121 ct state new,untracked accept
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ chain filter_IN_public_allow {
|
|
|
40251c |
+ tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
+ ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 2121 ct helper set "helper-ftptest-tcp"
|
|
|
40251c |
+ tcp dport 2121 ct state new,untracked accept
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
IPTABLES_LIST_RULES([raw], [PRE_public_allow], 0, [dnl
|
|
|
40251c |
- CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
+ CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
])
|
|
|
40251c |
IPTABLES_LIST_RULES([filter], [IN_public_allow], 0, [dnl
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
])
|
|
|
40251c |
IP6TABLES_LIST_RULES([raw], [PRE_public_allow], 0, [dnl
|
|
|
40251c |
- CT tcp ::/0 ::/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
+ CT tcp ::/0 ::/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
])
|
|
|
40251c |
IP6TABLES_LIST_RULES([filter], [IN_public_allow], 0, [dnl
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
])
|
|
|
40251c |
|
|
|
40251c |
dnl again, but with both "module" and "helper"
|
|
|
40251c |
@@ -128,38 +128,38 @@ FWD_RELOAD
|
|
|
40251c |
FWD_CHECK([-q --add-service=ftptest])
|
|
|
40251c |
|
|
|
40251c |
NFT_LIST_RULES([inet], [filter_IN_public_allow], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- chain filter_IN_public_allow {
|
|
|
40251c |
- tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
- ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 21 ct helper set "helper-ftp-tcp"
|
|
|
40251c |
- tcp dport 2121 ct helper set "helper-ftptest-tcp"
|
|
|
40251c |
- tcp dport 2121 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 21 ct state new,untracked accept
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ chain filter_IN_public_allow {
|
|
|
40251c |
+ tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
+ ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 21 ct helper set "helper-ftp-tcp"
|
|
|
40251c |
+ tcp dport 2121 ct helper set "helper-ftptest-tcp"
|
|
|
40251c |
+ tcp dport 2121 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 21 ct state new,untracked accept
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
IPTABLES_LIST_RULES([raw], [PRE_public_allow], 0, [dnl
|
|
|
40251c |
- CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 CT helper ftp
|
|
|
40251c |
- CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
+ CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 CT helper ftp
|
|
|
40251c |
+ CT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
])
|
|
|
40251c |
IPTABLES_LIST_RULES([filter], [IN_public_allow], 0, [dnl
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 ctstate NEW,UNTRACKED
|
|
|
40251c |
])
|
|
|
40251c |
IP6TABLES_LIST_RULES([raw], [PRE_public_allow], 0, [dnl
|
|
|
40251c |
- CT tcp ::/0 ::/0 tcp dpt:21 CT helper ftp
|
|
|
40251c |
- CT tcp ::/0 ::/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
+ CT tcp ::/0 ::/0 tcp dpt:21 CT helper ftp
|
|
|
40251c |
+ CT tcp ::/0 ::/0 tcp dpt:2121 CT helper ftp
|
|
|
40251c |
])
|
|
|
40251c |
IP6TABLES_LIST_RULES([filter], [IN_public_allow], 0, [dnl
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
- ACCEPT tcp ::/0 ::/0 tcp dpt:21 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:22 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:9090 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:2121 ctstate NEW,UNTRACKED
|
|
|
40251c |
+ ACCEPT tcp ::/0 ::/0 tcp dpt:21 ctstate NEW,UNTRACKED
|
|
|
40251c |
])
|
|
|
40251c |
|
|
|
40251c |
FWD_END_TEST
|
|
|
40251c |
diff --git a/src/tests/regression/gh453.at b/src/tests/regression/gh453.at
|
|
|
40251c |
index 6d820fce840a..61bc90aae673 100644
|
|
|
40251c |
--- a/src/tests/regression/gh453.at
|
|
|
40251c |
+++ b/src/tests/regression/gh453.at
|
|
|
40251c |
@@ -8,50 +8,50 @@ FWD_CHECK([-q --set-automatic-helpers=no])
|
|
|
40251c |
|
|
|
40251c |
FWD_CHECK([-q --add-service=ftp])
|
|
|
40251c |
NS_CHECK([nft list ruleset | TRIM_WHITESPACE |grep -A3 "ct helper helper-ftp-tcp"], 0, [m4_strip([dnl
|
|
|
40251c |
- ct helper helper-ftp-tcp {
|
|
|
40251c |
- type "ftp" protocol tcp
|
|
|
40251c |
- l3proto inet
|
|
|
40251c |
- }
|
|
|
40251c |
+ ct helper helper-ftp-tcp {
|
|
|
40251c |
+ type "ftp" protocol tcp
|
|
|
40251c |
+ l3proto inet
|
|
|
40251c |
+ }
|
|
|
40251c |
])])
|
|
|
40251c |
NFT_LIST_RULES([inet], [filter_IN_public_allow], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- chain filter_IN_public_allow {
|
|
|
40251c |
- tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
- ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 21 ct helper set "helper-ftp-tcp"
|
|
|
40251c |
- tcp dport 21 ct state new,untracked accept
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ chain filter_IN_public_allow {
|
|
|
40251c |
+ tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
+ ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 21 ct helper set "helper-ftp-tcp"
|
|
|
40251c |
+ tcp dport 21 ct state new,untracked accept
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
|
|
|
40251c |
FWD_CHECK([-q --add-service=sip])
|
|
|
40251c |
NS_CHECK([nft list ruleset | TRIM_WHITESPACE |grep -A3 "ct helper helper-sip-tcp"], 0, [m4_strip([dnl
|
|
|
40251c |
- ct helper helper-sip-tcp {
|
|
|
40251c |
- type "sip" protocol tcp
|
|
|
40251c |
- l3proto inet
|
|
|
40251c |
- }
|
|
|
40251c |
+ ct helper helper-sip-tcp {
|
|
|
40251c |
+ type "sip" protocol tcp
|
|
|
40251c |
+ l3proto inet
|
|
|
40251c |
+ }
|
|
|
40251c |
])])
|
|
|
40251c |
NS_CHECK([nft list ruleset | TRIM_WHITESPACE |grep -A3 "ct helper helper-sip-udp"], 0, [m4_strip([dnl
|
|
|
40251c |
- ct helper helper-sip-udp {
|
|
|
40251c |
- type "sip" protocol udp
|
|
|
40251c |
- l3proto inet
|
|
|
40251c |
- }
|
|
|
40251c |
+ ct helper helper-sip-udp {
|
|
|
40251c |
+ type "sip" protocol udp
|
|
|
40251c |
+ l3proto inet
|
|
|
40251c |
+ }
|
|
|
40251c |
])])
|
|
|
40251c |
NFT_LIST_RULES([inet], [filter_IN_public_allow], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- chain filter_IN_public_allow {
|
|
|
40251c |
- tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
- ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 21 ct helper set "helper-ftp-tcp"
|
|
|
40251c |
- tcp dport 21 ct state new,untracked accept
|
|
|
40251c |
- tcp dport 5060 ct helper set "helper-sip-tcp"
|
|
|
40251c |
- udp dport 5060 ct helper set "helper-sip-udp"
|
|
|
40251c |
- tcp dport 5060 ct state new,untracked accept
|
|
|
40251c |
- udp dport 5060 ct state new,untracked accept
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ chain filter_IN_public_allow {
|
|
|
40251c |
+ tcp dport 22 ct state new,untracked accept
|
|
|
40251c |
+ ip6 daddr fe80::/64 udp dport 546 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 9090 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 21 ct helper set "helper-ftp-tcp"
|
|
|
40251c |
+ tcp dport 21 ct state new,untracked accept
|
|
|
40251c |
+ tcp dport 5060 ct helper set "helper-sip-tcp"
|
|
|
40251c |
+ udp dport 5060 ct helper set "helper-sip-udp"
|
|
|
40251c |
+ tcp dport 5060 ct state new,untracked accept
|
|
|
40251c |
+ udp dport 5060 ct state new,untracked accept
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
|
|
|
40251c |
FWD_END_TEST
|
|
|
40251c |
diff --git a/src/tests/regression/rhbz1506742.at b/src/tests/regression/rhbz1506742.at
|
|
|
40251c |
index 48b224731fbc..2ab4f1a9cef1 100644
|
|
|
40251c |
--- a/src/tests/regression/rhbz1506742.at
|
|
|
40251c |
+++ b/src/tests/regression/rhbz1506742.at
|
|
|
40251c |
@@ -20,4 +20,4 @@ FWD_CHECK([-q --ipset=foobar --query-entry=1.2.3.4], 32, ignore, ignore)
|
|
|
40251c |
FWD_CHECK([-q --ipset=foobar --remove-entries-from-file=foobar_entries.txt])
|
|
|
40251c |
FWD_END_TEST([-e '/Error: IPSET_WITH_TIMEOUT/d' dnl
|
|
|
40251c |
-e '/ERROR: IPSET_WITH_TIMEOUT/d' dnl
|
|
|
40251c |
- -e '/WARNING: NOT_ENABLED/d'])
|
|
|
40251c |
+ -e '/WARNING: NOT_ENABLED/d'])
|
|
|
40251c |
diff --git a/src/tests/regression/rhbz1734765.at b/src/tests/regression/rhbz1734765.at
|
|
|
40251c |
index bb054bdb0361..b5023a058a55 100644
|
|
|
40251c |
--- a/src/tests/regression/rhbz1734765.at
|
|
|
40251c |
+++ b/src/tests/regression/rhbz1734765.at
|
|
|
40251c |
@@ -44,22 +44,22 @@ FWD_CHECK([-q --permanent --zone=trusted --add-interface=foobar1])
|
|
|
40251c |
FWD_RELOAD
|
|
|
40251c |
|
|
|
40251c |
NFT_LIST_SET([ipsetv4], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- set ipsetv4 {
|
|
|
40251c |
- type ipv4_addr
|
|
|
40251c |
- flags interval
|
|
|
40251c |
- elements = { 192.0.2.12 }
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ set ipsetv4 {
|
|
|
40251c |
+ type ipv4_addr
|
|
|
40251c |
+ flags interval
|
|
|
40251c |
+ elements = { 192.0.2.12 }
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
NFT_LIST_SET([ipsetv6], 0, [dnl
|
|
|
40251c |
- table inet firewalld {
|
|
|
40251c |
- set ipsetv6 {
|
|
|
40251c |
- type ipv6_addr
|
|
|
40251c |
- flags interval
|
|
|
40251c |
- elements = { ::2 }
|
|
|
40251c |
- }
|
|
|
40251c |
- }
|
|
|
40251c |
+ table inet firewalld {
|
|
|
40251c |
+ set ipsetv6 {
|
|
|
40251c |
+ type ipv6_addr
|
|
|
40251c |
+ flags interval
|
|
|
40251c |
+ elements = { ::2 }
|
|
|
40251c |
+ }
|
|
|
40251c |
+ }
|
|
|
40251c |
])
|
|
|
40251c |
|
|
|
40251c |
FWD_CHECK([-q --zone=foobar_010 --add-source="10.10.10.10"])
|
|
|
40251c |
--
|
|
|
40251c |
2.23.0
|
|
|
40251c |
|