mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:43:39 +03:00
tidy-up: mostly whitespace nits
- delete completed TODO from `./CMakeLists.txt`. - convert a C++ comment to C89 in `./CMake/CurlTests.c`. - delete duplicate EOLs from EOF. - add missing EOL at EOF. - delete whitespace at EOL (except from expected test results). - convert tabs to spaces. - convert CRLF EOLs to LF in GHA yaml. - text casing fixes in `./CMakeLists.txt`. - fix a codespell typo in `packages/OS400/initscript.sh`. Closes #11772
This commit is contained in:
parent
63f23fafc9
commit
ce3dce9015
87 changed files with 135 additions and 173 deletions
|
|
@ -28,7 +28,7 @@ http
|
|||
--data-urlencode
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/%TESTNUMBER.txt">
|
||||
content to _?!#$'|<>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ file
|
|||
X-Y range on a file:// URL to stdout
|
||||
</name>
|
||||
<command option="no-include">
|
||||
-r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
-r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
1234567890
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ file
|
|||
0-Y range on a file:// URL to stdout
|
||||
</name>
|
||||
<command option="no-include">
|
||||
-r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
-r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
1234567890
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ file
|
|||
X-X range on a file:// URL to stdout
|
||||
</name>
|
||||
<command option="no-include">
|
||||
-r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
-r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
1234567890
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ file
|
|||
X- range on a file:// URL to stdout
|
||||
</name>
|
||||
<command option="no-include">
|
||||
-r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
-r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
1234567890
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ file
|
|||
-Y range on a file:// URL to stdout
|
||||
</name>
|
||||
<command option="no-include">
|
||||
-r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
-r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
1234567890
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ manual
|
|||
none
|
||||
</server>
|
||||
<name>
|
||||
curl --manual
|
||||
curl --manual
|
||||
</name>
|
||||
<command>
|
||||
--manual
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ Invalid large X- range on a file://
|
|||
# This range value is 2**32+7, which will be truncated to the valid value 7
|
||||
# if the large file support is not working correctly
|
||||
<command>
|
||||
-r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
-r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
1234567890
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ CURL_GETHOSTNAME=curlhost
|
|||
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
|
||||
</setenv>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -L -d "stuff to send away"
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -L -d "stuff to send away"
|
||||
</command>
|
||||
<precheck>
|
||||
chkhostname curlhost
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Content-Type: text/html
|
|||
</data1>
|
||||
|
||||
# we use skip to make the test server never read the full payload off
|
||||
# the socket and instead return the response at once
|
||||
# the socket and instead return the response at once
|
||||
<servercmd>
|
||||
skip: 1053700
|
||||
</servercmd>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Content-Type: text/html
|
|||
</data1>
|
||||
|
||||
# we use skip to make the test server never read the full payload off
|
||||
# the socket and instead return the response at once
|
||||
# the socket and instead return the response at once
|
||||
<servercmd>
|
||||
skip: 100
|
||||
</servercmd>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ FAILURE2
|
|||
</data1>
|
||||
|
||||
# we use skip to make the test server never read the full payload off
|
||||
# the socket and instead return the response at once
|
||||
# the socket and instead return the response at once
|
||||
<servercmd>
|
||||
skip: 100
|
||||
</servercmd>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ http://ur%20[0-60000000000000000000
|
|||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# curl: (3) [globbing] bad range in column
|
||||
# curl: (3) [globbing] bad range in column
|
||||
<errorcode>
|
||||
3
|
||||
</errorcode>
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ http
|
|||
crypto
|
||||
</features>
|
||||
<name>
|
||||
HTTP GET with --anyauth with two URLs (picking Digest)
|
||||
HTTP GET with --anyauth with two URLs (picking Digest)
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ http
|
|||
proxy
|
||||
</features>
|
||||
<name>
|
||||
Provide illegal proxy name
|
||||
Provide illegal proxy name
|
||||
</name>
|
||||
<command>
|
||||
--proxy "http://a:b@/x" http://%HOSTIP:%NOLISTENPORT
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ data in file
|
|||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP URL with ?-letters in username and password
|
||||
FTP URL with ?-letters in username and password
|
||||
</name>
|
||||
<command>
|
||||
"ftp://use%3fr:pass%3fword@%HOSTIP:%FTPPORT/%TESTNUMBER"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ RETR
|
|||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP timed conditioned get file with identical time stamp
|
||||
FTP timed conditioned get file with identical time stamp
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -z "2004 jan 1 12:12:12 UTC"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE
|
|||
</name>
|
||||
# first URL then proxy
|
||||
<command>
|
||||
ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT
|
||||
ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ socks5
|
|||
HTTP GET via SOCKS5 set with --proxy
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ socks5
|
|||
FTP fetch with --proxy set to socks5://
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
|
||||
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ socks5
|
|||
FTP fetch with --proxy set to socks5:// and with --connect-to
|
||||
</name>
|
||||
<command>
|
||||
ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
|
||||
ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ proxy
|
|||
FTP fetch with --proxy set to http:// and with --connect-to
|
||||
</name>
|
||||
<command>
|
||||
ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
|
||||
ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ proxy
|
|||
FTP fetch with --preproxy, --proxy and --connect-to
|
||||
</name>
|
||||
<command>
|
||||
ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
|
||||
ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ socks5
|
|||
HTTP GET with IPv6 numerical via SOCKS5h
|
||||
</name>
|
||||
<command>
|
||||
http://[2200::33]:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
|
||||
http://[2200::33]:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ socks5
|
|||
HTTP GET with IPv4 numerical via SOCKS5h
|
||||
</name>
|
||||
<command>
|
||||
http://12.34.56.78:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
|
||||
http://12.34.56.78:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue