1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

runtests: Allow for spaces in curl custom path

.. also fix some typos in test's FILEFORMAT spec.
This commit is contained in:
Jay Satiro 2015-07-16 22:19:43 -04:00
parent 60b19630b0
commit 606b29fe0d
2 changed files with 10 additions and 9 deletions

View File

@ -122,7 +122,7 @@ DELAY [command] [secs]
- Delay responding to this command for the given time - Delay responding to this command for the given time
RETRWEIRDO RETRWEIRDO
- Enable the "weirdo" RETR case when multiple response lines appear at once - Enable the "weirdo" RETR case when multiple response lines appear at once
when a file is transfered when a file is transferred
RETRNOSIZE RETRNOSIZE
- Make sure the RETR response doesn't contain the size of the file - Make sure the RETR response doesn't contain the size of the file
NOSAVE NOSAVE
@ -211,8 +211,11 @@ crypto
debug debug
getrlimit getrlimit
GnuTLS GnuTLS
GSS-API
http2
idn idn
ipv6 ipv6
Kerberos
large_file large_file
libz libz
Metalink Metalink
@ -220,17 +223,15 @@ NSS
NTLM NTLM
OpenSSL OpenSSL
socks socks
SPNEGO
SSL SSL
SSLpinning SSLpinning
SSPI
TLS-SRP TLS-SRP
TrackMemory TrackMemory
unittest unittest
http2
SSPI
GSS-API
Kerberos
SPNEGO
unix-sockets unix-sockets
WinSSL
as well as each protocol that curl supports. A protocol only needs to be as well as each protocol that curl supports. A protocol only needs to be
specified if it is different from the server (useful when the server specified if it is different from the server (useful when the server
@ -290,7 +291,7 @@ If there's no test number found above, the HTTP test server will use the
number following the last dot in the given hostname (made so that a CONNECT number following the last dot in the given hostname (made so that a CONNECT
can still pass on test number) so that "foo.bar.123" gets treated as test case can still pass on test number) so that "foo.bar.123" gets treated as test case
123. Alternatively, if an IPv6 address is provided to CONNECT, the last 123. Alternatively, if an IPv6 address is provided to CONNECT, the last
hexadecimal group in the address will be used as the test numer! For example hexadecimal group in the address will be used as the test number! For example
the address "[1234::ff]" would be treated as test case 255. the address "[1234::ff]" would be treated as test case 255.
Set type="perl" to write the test case as a perl script. It implies that Set type="perl" to write the test case as a perl script. It implies that
@ -340,7 +341,7 @@ Available substitute variables include:
%HTTPTLSPORT - Port number of the HTTP TLS server %HTTPTLSPORT - Port number of the HTTP TLS server
%IMAP6PORT - IPv6 port number of the IMAP server %IMAP6PORT - IPv6 port number of the IMAP server
%IMAPPORT - Port number of the IMAP server %IMAPPORT - Port number of the IMAP server
%POP36PORT - IPv6 ort number of the POP3 server %POP36PORT - IPv6 port number of the POP3 server
%POP3PORT - Port number of the POP3 server %POP3PORT - Port number of the POP3 server
%PROXYPORT - Port number of the HTTP proxy %PROXYPORT - Port number of the HTTP proxy
%PWD - Current directory %PWD - Current directory

View File

@ -4734,7 +4734,7 @@ while(@ARGV) {
} }
elsif ($ARGV[0] eq "-c") { elsif ($ARGV[0] eq "-c") {
# use this path to curl instead of default # use this path to curl instead of default
$DBGCURL=$CURL=$ARGV[1]; $DBGCURL=$CURL="\"$ARGV[1]\"";
shift @ARGV; shift @ARGV;
} }
elsif ($ARGV[0] eq "-vc") { elsif ($ARGV[0] eq "-vc") {