diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-07-16 22:19:43 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-07-16 22:21:07 -0400 |
commit | 606b29fe0d07144ff13c3a731eef299b72060f91 (patch) | |
tree | 27998fb618085ce2fd8cc526f20cedcd5cfe924f | |
parent | 60b19630b032d99270282e021216605718acc14d (diff) |
runtests: Allow for spaces in curl custom path
.. also fix some typos in test's FILEFORMAT spec.
-rw-r--r-- | tests/FILEFORMAT | 17 | ||||
-rwxr-xr-x | tests/runtests.pl | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index c234c2250..20ff64a6b 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -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 @@ -211,8 +211,11 @@ crypto debug getrlimit GnuTLS +GSS-API +http2 idn ipv6 +Kerberos large_file libz Metalink @@ -220,17 +223,15 @@ 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 @@ -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 @@ -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 diff --git a/tests/runtests.pl b/tests/runtests.pl index 01010913b..3ff318719 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -4734,7 +4734,7 @@ while(@ARGV) { } 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") { |