diff options
| author | 2026-03-24 15:54:18 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:54:03 +0200 | |
| commit | 222e7f8d1ca3aaebe7588a79bf64d9820813785c (patch) | |
| tree | 4d4e39f88fcbd94aa9dfeccd522635179d7bf520 /scripts/Makefile.thinlto | |
| parent | selftests: ovpn: fail notification check on mismatch (diff) | |
selftests: ovpn: flatten slurped notification JSON before filtering
Notification comparison uses jq -s, which slurps all inputs into an
array. Some inputs can be arrays themselves, and applying the .msg.peer
filter directly on those entries triggers jq type errors.
Expand any array-valued JSON items returned by jq -s before selecting
.msg.peer, so the filter handles both normal notification objects and []
entries without type errors.
Fixes: 77de28cd7cf1 ("selftests: ovpn: add notification parsing and matching")
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
