diff options
author | Phil Sutter <phil@nwl.cc> | 2018-06-08 17:27:14 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-11 11:31:49 +0200 |
commit | b3c348ec09c7904fbc43ae4ba816d934bb23dc3d (patch) | |
tree | 37f0cb556cdb89f9bef0eaf928cb9b96f1a02a52 /tests/py/ip | |
parent | d4bd008be257cc95b2e9625cc5506b9e925c766d (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/ip')
-rw-r--r-- | tests/py/ip/flowtable.t.json | 1 | ||||
-rw-r--r-- | tests/py/ip/flowtable.t.json.output | 24 |
2 files changed, 1 insertions, 24 deletions
diff --git a/tests/py/ip/flowtable.t.json b/tests/py/ip/flowtable.t.json index 5e11172e..1d2b0b7a 100644 --- a/tests/py/ip/flowtable.t.json +++ b/tests/py/ip/flowtable.t.json @@ -14,6 +14,7 @@ } }, "name": "xyz", + "size": 8192, "stmt": { "counter": null } diff --git a/tests/py/ip/flowtable.t.json.output b/tests/py/ip/flowtable.t.json.output deleted file mode 100644 index 004349a8..00000000 --- a/tests/py/ip/flowtable.t.json.output +++ /dev/null @@ -1,24 +0,0 @@ -# meter xyz { ip saddr timeout 30s counter} -[ - { - "meter": { - "key": { - "elem": { - "timeout": 30, - "val": { - "payload": { - "field": "saddr", - "name": "ip" - } - } - } - }, - "name": "xyz", - "size": 65535, - "stmt": { - "counter": null - } - } - } -] - |