mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23: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
|
|
@ -62,19 +62,19 @@ http://exam.ple.com:9000/aws_sigv4/testapi/test exam.ple.com:9000:%HOSTIP:%HTTPP
|
|||
^Content-Type:.*
|
||||
^Accept:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
POST /aws_sigv4/testapi/test HTTP/1.1
|
||||
Host: exam.ple.com:9000
|
||||
Authorization: AWS4-HMAC-SHA256 Credential=xxx/19700101/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=eaee0f1c5984ad5d81c8bc7805f28c7b83b35322de654b2ace18cb8cf6d5a9cb
|
||||
X-Amz-Date: 19700101T000000Z
|
||||
x-amz-content-sha256: UNSIGNED-PAYLOAD
|
||||
Content-Length: 154
|
||||
|
||||
--------------------------qrstuvwxyz0123456789AB
|
||||
Content-Disposition: attachment; name="foo"
|
||||
|
||||
bar
|
||||
--------------------------qrstuvwxyz0123456789AB--
|
||||
<protocol crlf="yes">
|
||||
POST /aws_sigv4/testapi/test HTTP/1.1
|
||||
Host: exam.ple.com:9000
|
||||
Authorization: AWS4-HMAC-SHA256 Credential=xxx/19700101/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=eaee0f1c5984ad5d81c8bc7805f28c7b83b35322de654b2ace18cb8cf6d5a9cb
|
||||
X-Amz-Date: 19700101T000000Z
|
||||
x-amz-content-sha256: UNSIGNED-PAYLOAD
|
||||
Content-Length: 154
|
||||
|
||||
--------------------------qrstuvwxyz0123456789AB
|
||||
Content-Disposition: attachment; name="foo"
|
||||
|
||||
bar
|
||||
--------------------------qrstuvwxyz0123456789AB--
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue