mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +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
|
|
@ -10,9 +10,9 @@ TLS-SRP
|
|||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 200 OK
|
||||
Content-type: text/html
|
||||
|
||||
HTTP/1.0 200 OK%CR
|
||||
Content-type: text/html%CR
|
||||
%CR
|
||||
|
||||
<HTML><BODY>
|
||||
<CENTER><H1>This is <a href="http://www.gnu.org/software/gnutls">GnuTLS</a></H1></CENTER>
|
||||
|
|
@ -28,10 +28,10 @@ Content-type: text/html
|
|||
<TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
|
||||
<TR><TD>MAC</TD><TD>SHA1</TD></TR>
|
||||
<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE>
|
||||
<hr><P>Your HTTP header was:<PRE>Host: localhost:9011
|
||||
User-Agent: curl-test-suite
|
||||
Accept: */*
|
||||
|
||||
<hr><P>Your HTTP header was:<PRE>Host: localhost:9011%CR
|
||||
User-Agent: curl-test-suite%CR
|
||||
Accept: */*%CR
|
||||
%CR
|
||||
</PRE></P>
|
||||
</BODY></HTML>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue