mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:03:36 +03:00
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:
parent
869143b194
commit
4d2a05d3fe
1182 changed files with 11433 additions and 11453 deletions
|
|
@ -170,40 +170,40 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER digest basic
|
|||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
GET /%TESTNUMBER0100 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0100 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER0100", response="5f992a2e761ab926256419f7c685f85b"
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0200 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Basic %b64[testuser:testpass]b64%
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0300 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0300 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Digest username="testuser", realm="testrealm", nonce="3", uri="/%TESTNUMBER0300", response="132242e602882251929be93228c830ae"
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0400 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Basic %b64[testuser:wrongpass]b64%
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0500 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Basic %b64[testuser:testpass]b64%
|
||||
Accept: */*
|
||||
|
||||
<protocol crlf="yes">
|
||||
GET /%TESTNUMBER0100 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0100 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER0100", response="5f992a2e761ab926256419f7c685f85b"
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0200 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Basic %b64[testuser:testpass]b64%
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0300 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0300 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Digest username="testuser", realm="testrealm", nonce="3", uri="/%TESTNUMBER0300", response="132242e602882251929be93228c830ae"
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0400 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Basic %b64[testuser:wrongpass]b64%
|
||||
Accept: */*
|
||||
|
||||
GET /%TESTNUMBER0500 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Authorization: Basic %b64[testuser:testpass]b64%
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue