mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
runtests: drop notxml keyword, verify all test data files as XML
Follow-up to 7f3731ce14 #19595
Closes #19927
This commit is contained in:
parent
319298484f
commit
bfe6eb1c06
2 changed files with 2 additions and 7 deletions
4
.github/workflows/checksrc.yml
vendored
4
.github/workflows/checksrc.yml
vendored
|
|
@ -139,8 +139,8 @@ jobs:
|
|||
- name: 'check'
|
||||
run: |
|
||||
{
|
||||
git grep -z -i -l -E '^<\?xml' || true
|
||||
git grep -z -L -F 'notxml' 'tests/data/test*' || true
|
||||
git grep -i -l -E '^<\?xml' -z || true
|
||||
git ls-files 'tests/data/test*' -z || true
|
||||
} | xargs -0 -r xmllint >/dev/null
|
||||
|
||||
miscchecks:
|
||||
|
|
|
|||
|
|
@ -257,11 +257,6 @@ often run on overloaded machines with unpredictable timing.
|
|||
Tests using non-7-bit-ASCII characters must provide them with `%hex[]` or
|
||||
similar.
|
||||
|
||||
In most cases test files comply with the XML format, and pass xmllint cleanly.
|
||||
If the data file uses the `&` character, or has other, non-compliant content,
|
||||
and making it XML-compliant is not possible or unpractical, use the `notxml`
|
||||
keyword to exclude it from linter checks.
|
||||
|
||||
## `<reply>`
|
||||
|
||||
### `<data [nocheck="yes"] [sendzero="yes"] [hex="yes"] [nonewline="yes"] [crlf="yes|headers"]>`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue