mirror of
https://github.com/curl/curl.git
synced 2026-07-23 21:27:16 +03:00
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:
parent
85cfc15601
commit
ca27404d27
12 changed files with 134 additions and 787 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue