summaryrefslogtreecommitdiffstats
path: root/tests/py/ip
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-11-03 11:12:50 +0100
committerFlorian Westphal <fw@strlen.de>2020-11-05 09:40:50 +0100
commitbb34b08dc6ce9dadb6459cbc217036b6eb59bd73 (patch)
treecc48ce8ea40421b10c5c93e9e87f1534e602afcf /tests/py/ip
parent25338cdb6c77aa2f0977afbbb612571c9d325213 (diff)
tests: json: add missing test case output
Fix warnings and errors when running nf-test.py -j due to missing json test case updates. This also makes bridge/reject.t pass in json mode. No code changes. Fixes: 8615ed93f6e4c4 ("evaluate: enable reject with 802.1q") Fixes: fae0a0972d7a71 ("tests: py: Enable anonymous set rule with concatenated ranges in inet/sets.t") Fixes: 2a20b5bdbde8a1 ("datatype: add frag-needed (ipv4) to reject options") Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip')
-rw-r--r--tests/py/ip/icmp.t.json4
-rw-r--r--tests/py/ip/icmp.t.json.output2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/ip/icmp.t.json b/tests/py/ip/icmp.t.json
index 4e172745..965eb10b 100644
--- a/tests/py/ip/icmp.t.json
+++ b/tests/py/ip/icmp.t.json
@@ -480,7 +480,7 @@
}
]
-# icmp code != { prot-unreachable, 4, 33, 54, 56}
+# icmp code != { prot-unreachable, frag-needed, 33, 54, 56}
[
{
"match": {
@@ -494,7 +494,7 @@
"right": {
"set": [
"prot-unreachable",
- 4,
+ "frag-needed",
33,
54,
56
diff --git a/tests/py/ip/icmp.t.json.output b/tests/py/ip/icmp.t.json.output
index e8045bb8..2391983a 100644
--- a/tests/py/ip/icmp.t.json.output
+++ b/tests/py/ip/icmp.t.json.output
@@ -49,7 +49,7 @@
"right": {
"set": [
"prot-unreachable",
- 4,
+ "frag-needed",
33,
54,
56