tests/data: add %includetext, dedupe XML payloads into external file

To reduce duplication and to avoid keeping XML-like markup within XML
markup (`test*`), that was tripping `xmllint`.

Ref: #19470

Closes #19504
This commit is contained in:
Viktor Szakats 2025-11-13 02:11:48 +01:00
parent 85cfc15601
commit ca27404d27
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
12 changed files with 134 additions and 787 deletions

View file

@ -106,6 +106,11 @@ the include instruction:
%include filename%
Or, a variant of the above where the file is loaded as a newline-agnostic
text file, and `%CR`, `%SP`, `%TAB` macros are expanded after inclusion:
%includetext filename%
## Conditional lines
Lines in the test file can be made to appear conditionally on a specific