summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-06-08 17:27:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-11 11:31:49 +0200
commitb3c348ec09c7904fbc43ae4ba816d934bb23dc3d (patch)
tree37f0cb556cdb89f9bef0eaf928cb9b96f1a02a52 /tests/py/ip6
parentd4bd008be257cc95b2e9625cc5506b9e925c766d (diff)
tests/py: Fix JSON for flowtable tests
Changing the reference lines is not enough, the actual JSON has to be adjusted as well. Since after the changes output for ip/flowtable.t is now symmetric, ip/flowtable.t.json.output can be removed. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip6')
-rw-r--r--tests/py/ip6/flowtable.t.json2
-rw-r--r--tests/py/ip6/flowtable.t.json.output8
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/py/ip6/flowtable.t.json b/tests/py/ip6/flowtable.t.json
index 863669eb..ef33f74d 100644
--- a/tests/py/ip6/flowtable.t.json
+++ b/tests/py/ip6/flowtable.t.json
@@ -21,6 +21,7 @@
}
},
"name": "acct_out",
+ "size": 4096,
"stmt": {
"counter": null
}
@@ -51,6 +52,7 @@
}
},
"name": "acct_out",
+ "size": 12345,
"stmt": {
"counter": null
}
diff --git a/tests/py/ip6/flowtable.t.json.output b/tests/py/ip6/flowtable.t.json.output
index f63a2637..ef33f74d 100644
--- a/tests/py/ip6/flowtable.t.json.output
+++ b/tests/py/ip6/flowtable.t.json.output
@@ -1,4 +1,4 @@
-# meter acct_out { meta iif . ip6 saddr timeout 600s counter }
+# meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter }
[
{
"meter": {
@@ -21,7 +21,7 @@
}
},
"name": "acct_out",
- "size": 65535,
+ "size": 4096,
"stmt": {
"counter": null
}
@@ -29,7 +29,7 @@
}
]
-# meter acct_out { ip6 saddr . meta iif timeout 600s counter }
+# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter }
[
{
"meter": {
@@ -52,7 +52,7 @@
}
},
"name": "acct_out",
- "size": 65535,
+ "size": 12345,
"stmt": {
"counter": null
}