mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +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
|
|
@ -41,22 +41,22 @@ Hello Joe, do you think we can meet at 3:30 tomorrow?
|
|||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
A001 CAPABILITY
|
||||
A002 LOGIN user secret
|
||||
A003 APPEND %TESTNUMBER (\Seen) {295}
|
||||
A004 LOGOUT
|
||||
<protocol crlf="yes">
|
||||
A001 CAPABILITY
|
||||
A002 LOGIN user secret
|
||||
A003 APPEND %TESTNUMBER (\Seen) {295}
|
||||
A004 LOGOUT
|
||||
</protocol>
|
||||
<upload>
|
||||
Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
|
||||
From: Fred Foobar <foobar@example.COM>
|
||||
Subject: afternoon meeting
|
||||
To: joe@example.com
|
||||
Message-Id: <B27397-0100000@example.COM>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
|
||||
|
||||
Hello Joe, do you think we can meet at 3:30 tomorrow?
|
||||
<upload crlf="yes">
|
||||
Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
|
||||
From: Fred Foobar <foobar@example.COM>
|
||||
Subject: afternoon meeting
|
||||
To: joe@example.com
|
||||
Message-Id: <B27397-0100000@example.COM>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
|
||||
|
||||
Hello Joe, do you think we can meet at 3:30 tomorrow?
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue