diff options
| author | Phil Sutter <phil@nwl.cc> | 2025-06-11 17:15:22 +0200 |
|---|---|---|
| committer | Phil Sutter <phil@nwl.cc> | 2025-06-12 22:55:53 +0200 |
| commit | b5f43dfc8b28989290a16818f00ca73c6cd8ff65 (patch) | |
| tree | 20db6a6b73c9eb1c61af8384fadc29f0f08c501c /tests/monitor/testcases/set-multiple.t | |
| parent | 9fa3fbed73a36111e308c9856514a032f5444564 (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/set-multiple.t')
| -rw-r--r-- | tests/monitor/testcases/set-multiple.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/monitor/testcases/set-multiple.t b/tests/monitor/testcases/set-multiple.t index bd7a6246..84de98e9 100644 --- a/tests/monitor/testcases/set-multiple.t +++ b/tests/monitor/testcases/set-multiple.t @@ -4,8 +4,8 @@ I add set ip t portrange { type inet_service; flags interval; } I add set ip t portrange2 { type inet_service; flags interval; } O - J {"add": {"table": {"family": "ip", "name": "t", "handle": 0}}} -J {"add": {"set": {"family": "ip", "name": "portrange", "table": "t", "type": "inet_service", "handle": 0, "flags": ["interval"]}}} -J {"add": {"set": {"family": "ip", "name": "portrange2", "table": "t", "type": "inet_service", "handle": 0, "flags": ["interval"]}}} +J {"add": {"set": {"family": "ip", "name": "portrange", "table": "t", "type": "inet_service", "handle": 0, "flags": "interval"}}} +J {"add": {"set": {"family": "ip", "name": "portrange2", "table": "t", "type": "inet_service", "handle": 0, "flags": "interval"}}} # make sure concurrent adds work I add element ip t portrange { 1024-65535 } |
