]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: test: Properly process JSON and XML in tests
authorMichał Kępień <michal@isc.org>
Sat, 25 Oct 2025 06:40:10 +0000 (08:40 +0200)
committerMichał Kępień <michal@isc.org>
Sat, 25 Oct 2025 06:40:10 +0000 (08:40 +0200)
commit1270dc6dbdcbf7c6a2028836b899956e1fd7323f
tree937413e57b9a1b53b5bc0da63de985ffc6a7b782
parent1040282de7edfa028f20f241ae3eafb2fe590993
parent92501f132027c40d7fc1abfcdd1e7cf721615384
[9.20] chg: test: Properly process JSON and XML in tests

Processing JSON and XML using `grep` and `sed` is error-prone, overly
lax in some ways, overly strict in others, and neither accurate nor
expressive.  Use `jq` and `xmllint` with XPath expressions to make
things right in system tests.

See #3304

Backport of MR !10942

Merge branch 'backport-3304-properly-process-json-and-xml-in-tests-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11153