mirror of
https://github.com/curl/curl.git
synced 2026-07-31 11:18:03 +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
|
|
@ -76,18 +76,18 @@ moo
|
|||
^timeout = [5-6]$
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /%TESTNUMBER0001 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
EPSV
|
||||
TYPE I
|
||||
SIZE %TESTNUMBER0002
|
||||
RETR %TESTNUMBER0002
|
||||
GET /%TESTNUMBER0001 HTTP/1.1%CR
|
||||
Host: %HOSTIP:%HTTPPORT%CR
|
||||
User-Agent: curl/%VERSION%CR
|
||||
Accept: */*%CR
|
||||
%CR
|
||||
USER anonymous%CR
|
||||
PASS ftp@example.com%CR
|
||||
PWD%CR
|
||||
EPSV%CR
|
||||
TYPE I%CR
|
||||
SIZE %TESTNUMBER0002%CR
|
||||
RETR %TESTNUMBER0002%CR
|
||||
opcode = 1
|
||||
mode = octet
|
||||
tsize = 0
|
||||
|
|
@ -98,15 +98,15 @@ mode = octet
|
|||
tsize = 0
|
||||
blksize = 512
|
||||
filename = /%TESTNUMBER0003
|
||||
EPSV
|
||||
SIZE %TESTNUMBER0002
|
||||
RETR %TESTNUMBER0002
|
||||
GET /%TESTNUMBER0001 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
QUIT
|
||||
EPSV%CR
|
||||
SIZE %TESTNUMBER0002%CR
|
||||
RETR %TESTNUMBER0002%CR
|
||||
GET /%TESTNUMBER0001 HTTP/1.1%CR
|
||||
Host: %HOSTIP:%HTTPPORT%CR
|
||||
User-Agent: curl/%VERSION%CR
|
||||
Accept: */*%CR
|
||||
%CR
|
||||
QUIT%CR
|
||||
</protocol>
|
||||
<stdout>
|
||||
-foo-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue