mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
tests: replace remaining CR bytes with the new macro %CR
There is no more mixed-newline file in the repository after this patch. Except for`.bat` and `.sln` files (4 in total), all files use LF newlines. Also: - `spacecheck.pl`: drop mixed-EOL exception for test data. - runtests: add option `-w` to check if test data has stray CR bytes in them. - build: enable the option above in test targets, except the CI-specific one where `spacecheck.pl` does this job already. - tested OK (with expected failures) in CI with stray CRs added. - cmake: enable option `-a` for the `tests` target. To continue testing after a failed test. Follow-up to63e9721b63#19313 Follow-up to6cf3d7b1b1#19318 Follow-up to4d2a05d3fe#19284 Closes #19347
This commit is contained in:
parent
672886f734
commit
904e7ecb66
123 changed files with 2045 additions and 2009 deletions
|
|
@ -70,21 +70,21 @@ http://test.remote.example.com/path/%TESTNUMBER http://s1lly:pers0n@%HOSTIP:%HTT
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol nonewline="yes">
|
||||
POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1
|
||||
Host: test.remote.example.com
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
Content-Length: 70000
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
%repeat[7000 x test data%00]%POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1
|
||||
Host: test.remote.example.com
|
||||
Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="%repeat[400 x A]%", uri="/path/%TESTNUMBER", response="be7aedc47d821b6d847c445ded782c43"
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
Content-Length: 70000
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1%CR
|
||||
Host: test.remote.example.com%CR
|
||||
Accept: */*%CR
|
||||
Proxy-Connection: Keep-Alive%CR
|
||||
Content-Length: 70000%CR
|
||||
Content-Type: application/x-www-form-urlencoded%CR
|
||||
%CR
|
||||
%repeat[7000 x test data%00]%POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1%CR
|
||||
Host: test.remote.example.com%CR
|
||||
Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="%repeat[400 x A]%", uri="/path/%TESTNUMBER", response="be7aedc47d821b6d847c445ded782c43"%CR
|
||||
Accept: */*%CR
|
||||
Proxy-Connection: Keep-Alive%CR
|
||||
Content-Length: 70000%CR
|
||||
Content-Type: application/x-www-form-urlencoded%CR
|
||||
%CR
|
||||
%repeat[7000 x test data%00]%
|
||||
</protocol>
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue