summaryrefslogtreecommitdiffstats
path: root/tests/monitor/testcases/map-expr.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-06-11 17:15:22 +0200
committerPhil Sutter <phil@nwl.cc>2025-06-12 22:55:53 +0200
commitb5f43dfc8b28989290a16818f00ca73c6cd8ff65 (patch)
tree20db6a6b73c9eb1c61af8384fadc29f0f08c501c /tests/monitor/testcases/map-expr.t
parent9fa3fbed73a36111e308c9856514a032f5444564 (diff)
tests: monitor: Fix for single flag array avoidance
Missed to update the JSON monitor expected output. Fixes: 6bedb12af1658 ("json: Print single set flag as non-array") Signed-off-by: Phil Sutter <phil@nwl.cc> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/monitor/testcases/map-expr.t')
-rw-r--r--tests/monitor/testcases/map-expr.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor/testcases/map-expr.t b/tests/monitor/testcases/map-expr.t
index d11ad0eb..90420041 100644
--- a/tests/monitor/testcases/map-expr.t
+++ b/tests/monitor/testcases/map-expr.t
@@ -3,4 +3,4 @@ I add table ip t
I add map ip t m { typeof meta day . meta hour : verdict; flags interval; counter; }
O -
J {"add": {"table": {"family": "ip", "name": "t", "handle": 0}}}
-J {"add": {"map": {"family": "ip", "name": "m", "table": "t", "type": {"typeof": {"concat": [{"meta": {"key": "day"}}, {"meta": {"key": "hour"}}]}}, "handle": 0, "map": "verdict", "flags": ["interval"], "stmt": [{"counter": null}]}}}
+J {"add": {"map": {"family": "ip", "name": "m", "table": "t", "type": {"typeof": {"concat": [{"meta": {"key": "day"}}, {"meta": {"key": "hour"}}]}}, "handle": 0, "map": "verdict", "flags": "interval", "stmt": [{"counter": null}]}}}