From b3c348ec09c7904fbc43ae4ba816d934bb23dc3d Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 8 Jun 2018 17:27:14 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- tests/py/ip/flowtable.t.json | 1 + tests/py/ip/flowtable.t.json.output | 24 ------------------------ 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 tests/py/ip/flowtable.t.json.output (limited to 'tests/py/ip') 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 - } - } - } -] - -- cgit v1.2.3