]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[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)
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


Trivial merge