Skip to content

Commit

Permalink
runtests: Allow for spaces in curl custom path
Browse files Browse the repository at this point in the history
.. also fix some typos in test's FILEFORMAT spec.
  • Loading branch information
jay committed Jul 17, 2015
1 parent 60b1963 commit 606b29f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions tests/FILEFORMAT
Expand Up @@ -122,7 +122,7 @@ DELAY [command] [secs]
- Delay responding to this command for the given time
RETRWEIRDO
- Enable the "weirdo" RETR case when multiple response lines appear at once
when a file is transfered
when a file is transferred
RETRNOSIZE
- Make sure the RETR response doesn't contain the size of the file
NOSAVE
Expand Down Expand Up @@ -211,26 +211,27 @@ crypto
debug
getrlimit
GnuTLS
GSS-API
http2
idn
ipv6
Kerberos
large_file
libz
Metalink
NSS
NTLM
OpenSSL
socks
SPNEGO
SSL
SSLpinning
SSPI
TLS-SRP
TrackMemory
unittest
http2
SSPI
GSS-API
Kerberos
SPNEGO
unix-sockets
WinSSL

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
Expand Down Expand Up @@ -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
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
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.

Set type="perl" to write the test case as a perl script. It implies that
Expand Down Expand Up @@ -340,7 +341,7 @@ Available substitute variables include:
%HTTPTLSPORT - Port number of the HTTP TLS server
%IMAP6PORT - IPv6 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
%PROXYPORT - Port number of the HTTP proxy
%PWD - Current directory
Expand Down
2 changes: 1 addition & 1 deletion tests/runtests.pl
Expand Up @@ -4734,7 +4734,7 @@ sub runtimestats {
}
elsif ($ARGV[0] eq "-c") {
# use this path to curl instead of default
$DBGCURL=$CURL=$ARGV[1];
$DBGCURL=$CURL="\"$ARGV[1]\"";
shift @ARGV;
}
elsif ($ARGV[0] eq "-vc") {
Expand Down

0 comments on commit 606b29f

Please sign in to comment.