summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/dnat.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-12-29 19:33:44 +0100
committerPhil Sutter <phil@nwl.cc>2021-02-04 01:23:11 +0100
commit8cf50997500978844f6069189d63f2e809a4abed (patch)
treebaadabc1491708eba9202bc0376fffd1529510d7 /tests/py/ip6/dnat.t
parent2cfab7a3e10fcb8ec1aeacc2713a24c1f1d71aae (diff)
tests/py: Add a test sanitizer and fix its findings
This is just basic housekeeping: - Remove duplicate tests in any of the *.t files - Remove explicit output if equal to command itself in *.t files - Remove duplicate payload records in any of the *.t.payload* files - Remove stale payload records (for which no commands exist in the respective *.t file - Remove duplicate/stale entries in any of the *.t.json files In some cases, tests were added instead of removing a stale payload record if it fit nicely into the sequence of tests. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/py/ip6/dnat.t')
-rw-r--r--tests/py/ip6/dnat.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/ip6/dnat.t b/tests/py/ip6/dnat.t
index 28bd7ef9..89d5a5f9 100644
--- a/tests/py/ip6/dnat.t
+++ b/tests/py/ip6/dnat.t
@@ -3,7 +3,7 @@
*ip6;test-ip6;prerouting
tcp dport 80-90 dnat to [2001:838:35f:1::]-[2001:838:35f:2::]:80-100;ok
-tcp dport 80-90 dnat to [2001:838:35f:1::]-[2001:838:35f:2::]:100;ok;tcp dport 80-90 dnat to [2001:838:35f:1::]-[2001:838:35f:2::]:100
+tcp dport 80-90 dnat to [2001:838:35f:1::]-[2001:838:35f:2::]:100;ok
tcp dport 80-90 dnat to [2001:838:35f:1::]:80;ok
dnat to [2001:838:35f:1::]/64;ok;dnat to 2001:838:35f:1::/64
dnat to 2001:838:35f:1::-2001:838:35f:1:ffff:ffff:ffff:ffff;ok;dnat to 2001:838:35f:1::/64