|
|
8a3219 |
From 0f3ae3ae56b7a27ec3ff85646a87b6488b1f05d6 Mon Sep 17 00:00:00 2001
|
|
|
8a3219 |
From: Eric Garver <eric@garver.life>
|
|
|
8a3219 |
Date: Mon, 17 Jun 2019 11:01:27 -0400
|
|
|
8a3219 |
Subject: [PATCH 06/20] fix: test/features/rfc3964_ipv4: use return code not
|
|
|
8a3219 |
output for negative test
|
|
|
8a3219 |
|
|
|
8a3219 |
The output varies between -nft and -legacy iptables variants.
|
|
|
8a3219 |
|
|
|
8a3219 |
Fixes: e527818500be ("fix: tests: always list rules using macros")
|
|
|
8a3219 |
(cherry picked from commit 7149ff26c88a86c9a485f8e59d3ceb3eb4a292d4)
|
|
|
8a3219 |
---
|
|
|
8a3219 |
src/tests/features/rfc3964_ipv4.at | 4 +---
|
|
|
8a3219 |
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
8a3219 |
|
|
|
8a3219 |
diff --git a/src/tests/features/rfc3964_ipv4.at b/src/tests/features/rfc3964_ipv4.at
|
|
|
8a3219 |
index baff411793b2..54f5f756270b 100644
|
|
|
8a3219 |
--- a/src/tests/features/rfc3964_ipv4.at
|
|
|
8a3219 |
+++ b/src/tests/features/rfc3964_ipv4.at
|
|
|
8a3219 |
@@ -93,9 +93,7 @@ NFT_LIST_RULES([inet], [filter_OUTPUT], 0, [dnl
|
|
|
8a3219 |
}
|
|
|
8a3219 |
])
|
|
|
8a3219 |
|
|
|
8a3219 |
-IP6TABLES_LIST_RULES([filter], [RFC3964_IPv4], 0, [ignore], [dnl
|
|
|
8a3219 |
-iptables: No chain/target/match by that name.
|
|
|
8a3219 |
-])
|
|
|
8a3219 |
+IP6TABLES_LIST_RULES([filter], [RFC3964_IPv4], 1, [ignore], [ignore])
|
|
|
8a3219 |
IP6TABLES_LIST_RULES([filter], [FORWARD], 0, [dnl
|
|
|
8a3219 |
ACCEPT all ::/0 ::/0 ctstate RELATED,ESTABLISHED,DNAT
|
|
|
8a3219 |
ACCEPT all ::/0 ::/0
|
|
|
8a3219 |
--
|
|
|
8a3219 |
2.20.1
|
|
|
8a3219 |
|