mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +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
|
|
@ -35,67 +35,67 @@ ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
|
|||
<errorcode>
|
||||
0
|
||||
</errorcode>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
CWD fully_simulated
|
||||
CWD UNIX
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
EPSV
|
||||
TYPE I
|
||||
RETR chmod1
|
||||
EPSV
|
||||
RETR chmod2
|
||||
EPSV
|
||||
RETR chmod3
|
||||
EPSV
|
||||
RETR empty_file.dat
|
||||
EPSV
|
||||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
EPSV
|
||||
TYPE I
|
||||
RETR chmod1
|
||||
EPSV
|
||||
RETR chmod2
|
||||
EPSV
|
||||
RETR chmod3
|
||||
EPSV
|
||||
RETR empty_file.dat
|
||||
EPSV
|
||||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
QUIT
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
CWD fully_simulated
|
||||
CWD UNIX
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
EPSV
|
||||
TYPE I
|
||||
RETR chmod1
|
||||
EPSV
|
||||
RETR chmod2
|
||||
EPSV
|
||||
RETR chmod3
|
||||
EPSV
|
||||
RETR empty_file.dat
|
||||
EPSV
|
||||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
QUIT
|
||||
<protocol crlf="yes">
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
CWD fully_simulated
|
||||
CWD UNIX
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
EPSV
|
||||
TYPE I
|
||||
RETR chmod1
|
||||
EPSV
|
||||
RETR chmod2
|
||||
EPSV
|
||||
RETR chmod3
|
||||
EPSV
|
||||
RETR empty_file.dat
|
||||
EPSV
|
||||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
EPSV
|
||||
TYPE I
|
||||
RETR chmod1
|
||||
EPSV
|
||||
RETR chmod2
|
||||
EPSV
|
||||
RETR chmod3
|
||||
EPSV
|
||||
RETR empty_file.dat
|
||||
EPSV
|
||||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
QUIT
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
CWD fully_simulated
|
||||
CWD UNIX
|
||||
EPSV
|
||||
TYPE A
|
||||
LIST
|
||||
EPSV
|
||||
TYPE I
|
||||
RETR chmod1
|
||||
EPSV
|
||||
RETR chmod2
|
||||
EPSV
|
||||
RETR chmod3
|
||||
EPSV
|
||||
RETR empty_file.dat
|
||||
EPSV
|
||||
RETR file.txt
|
||||
EPSV
|
||||
RETR someothertext.txt
|
||||
QUIT
|
||||
</protocol>
|
||||
<stdout>
|
||||
This file should have permissions 444
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue