]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use jq in system tests inspecting JSON data
authorMichał Kępień <michal@isc.org>
Sat, 25 Oct 2025 05:37:48 +0000 (07:37 +0200)
committerMichał Kępień <michal@isc.org>
Sat, 25 Oct 2025 06:01:46 +0000 (08:01 +0200)
commit1f0ed3c47909db6560d790d7f06285261abc49ca
treed9539963bd03080edff2e81f84498e7a3d304fef
parent0ca76b6716f6d9c8d98569083ce7fd86069858b7
Use jq in system tests inspecting JSON data

Inspecting JSON data using grep is error-prone, overly lax in some ways,
overly strict in others, and neither accurate nor expressive.  Use jq
for inspecting JSON data in the "statschannel" and "synthfromdnssec"
system tests to address these deficiencies.

(cherry picked from commit b494e02761e9996a6619ed31a17ff0b6f32647eb)
bin/tests/system/statschannel/tests.sh
bin/tests/system/synthfromdnssec/tests.sh