tests: use crlf=yes attribute more

To make special newlines more explicit and visible.
Mostly in `<protocol>` sections, some in `<data*>` and `<upload>`.

Reducing the number of `tests/data/test*`:
- CRLF newlines from 21535 to 11337.
- files with mixed newlines from 1335 to 707.

Also delete empty `<protocol>` sections.

Closes #19284
This commit is contained in:
Viktor Szakats 2025-10-30 15:46:17 +01:00
parent 869143b194
commit 4d2a05d3fe
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
1182 changed files with 11433 additions and 11453 deletions

View file

@ -38,27 +38,27 @@ http://www1.example.com:8081/%TESTNUMBER --connect-to ::%HOSTIP:%HTTPPORT --next
#
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: www1.example.com:8081
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: www2.example.com:8082
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: www3.example.com:8083
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: www4.example.com:8084
User-Agent: curl/%VERSION
Accept: */*
<protocol crlf="yes">
GET /%TESTNUMBER HTTP/1.1
Host: www1.example.com:8081
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: www2.example.com:8082
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: www3.example.com:8083
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.1
Host: www4.example.com:8084
User-Agent: curl/%VERSION
Accept: */*
</protocol>
</verify>