aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2016-11-30runtests: made Servers: output be more consistent by removing OFFDan Fandrich
2016-06-19tests: fix the HTTP/2 testsDaniel Stenberg
The HTTP/2 tests brought with commit bf05606ef1f were using the internal name 'http2' for the HTTP/2 server, while in fact that name was already used for the second instance of the HTTP server. This made tests using the second instance (like test 2050) fail after a HTTP/2 test had run. The server is now known as HTTP/2 internally and within the <server> section in test cases. 1700, 1701 and 1702 were updated accordingly.
2016-06-06runtests: don't display logs when http2 server fails to startDaniel Stenberg
2016-06-06runtests: make stripfile work on stdout as wellDaniel Stenberg
... and have test 1700 use that to strip out the nghttpx server: headers
2016-06-06http2-tests: test1700 is the first real HTTP/2 testDaniel Stenberg
It requires that 'nghttpx' is in the PATH, and it will run the tests using nghttpx as a front-end proxy in front of the standard HTTP/1 test server. This uses HTTP/2 over plain TCP. If you like me have nghttpx installed in a custom path, you can run test 1700 like this: $ PATH=$PATH:$HOME/build-nghttp2/bin/ ./runtests.pl 1700
2016-04-29tests: Use 'pathhelp' for current path in runtests.plKarlson2k
2016-04-24PolarSSL: Implement public key pinningmoparisthebest
2016-03-14runtests: mention when run event-basedDaniel Stenberg
2016-02-22runtests: Fixed usage of %PWD on MinGW64Karlson2k
Closes #672
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2016-01-10runtests: Add mbedTLS to the SSL backendsJay Satiro
.. and enable SSLpinning tests for mbedTLS, BoringSSL and LibreSSL.
2015-12-26runtests.pl: check up to 5 data parts with different text modesMarc Hoersken
Move the text-mode conversion for reply/replycheck from the verify section into the load section and add support for 4 more check parts.
2015-11-12runtests: more compact "System characteristics" outputDaniel Stenberg
- no point in repeating curl features that is already listed as features from the curl -V output - remove the port numbers/unix domain path from the output unless verbose is used, as that is rarely interesting to users.
2015-11-12runtests: rename conditional curl-features to $has_[name]Daniel Stenberg
2015-10-17cookies: Add support for Mozilla's Publix Suffix ListTim Rühsen
Use libpsl to check the domain value of Set-Cookie headers (and cookie jar entries) for not being a Publix Suffix. The configure script checks for "libpsl" by default. Disable the check with --without-libpsl. Ref: https://publicsuffix.org/ Ref: https://github.com/publicsuffix/list Ref: https://github.com/rockdaboot/libpsl
2015-09-29runtests: Fix pid check in checkdiedJay Satiro
Because the 'not' operator has a very low precedence and as a result the entire statement was erroneously negated and could never be true.
2015-08-22runtests: Allow for spaces in server-verify curl custom pathJay Satiro
2015-07-16runtests: Allow for spaces in curl custom pathJay Satiro
.. also fix some typos in test's FILEFORMAT spec.
2015-05-18runtests.pl: use 'h2c' now, no -14 anymoreDaniel Stenberg
2015-04-26runtests: use a DISABLED.local file tooDaniel Stenberg
... and have git ignore that. Allows for a dev to add tests to ignore in local tests and yet don't obstruct a normal git work flow.
2015-04-22cyassl: Implement public key pinningJay Satiro
Also add public key extraction example to CURLOPT_PINNEDPUBLICKEY doc.
2015-04-22nss: implement public key pinning for NSS backendKamil Dudka
Bug: https://bugzilla.redhat.com/1195771
2015-03-28runtests.pl: detect WolfSSL as yasslDan Fandrich
2015-01-28runtests: identify BoringSSL and libresslDaniel Stenberg
2014-12-27code/docs: Use correct case for IPv4 and IPv6Steve Holme
For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
2014-12-27runtests: Fixed detection of Unix Sockets featureSteve Holme
...following change in curl --version output.
2014-12-26code/docs: Use Unix rather than UNIX to avoid use of the trademarkSteve Holme
Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
2014-12-21tests: support spaces in paths to SSH, SSHD and SFTP binariesMarc Hoersken
First patch to enable Windows support using Cygwin-based OpenSSH.
2014-12-04fix gdb libtool invocation pathStefan Bühler
2014-12-04tests: add HTTP UNIX socket server testing supportPeter Wu
The variable `$ipvnum` can now contain "unix" besides the integers 4 and 6 since the variable. Functions which receive this parameter have their `$port` parameter renamed to `$port_or_path` to support a path to the UNIX domain socket (as a "port" is only meaningful for TCP). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-28runtests.pl: fix startup of IPv6 serversPeter Wu
Commit curl-7_23_1-143-g8218064 changed the parameter of responsive_http_server to accept types other than IPv6 (converting from a boolean to a string), but only considered the lower-case "ipv6" and not the "IPv6" variant. This caused all servers to start in IPv4 mode instead. This patch converts the remaining cases to "ipv6". While not strictly necessary for the run*server variants, these got also converted for consistency and to prevent future errors. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-28runtests.pl: fix warning message, remove duplicate valuePeter Wu
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-22runtests.pl: Re-aligned feature support commentsSteve Holme
2014-11-22runtests.pl: Use Kerberos and SPNEGO as proxies for the crypto featureSteve Holme
In addition to NTLM, use Kerberos and SPNEGO as proxies to the crypto feature. ...and converted tab characters, from commit 4b4e8a5853, to spaces.
2014-11-22runtests.pl: Added support for SPNEGOSteve Holme
2014-11-22runtests.pl: Added Kerberos detectionSteve Holme
2014-11-22runtests.pl: Added GSS-API detectionSteve Holme
2014-11-20test1800: first plain-text http2 test caseDaniel Stenberg
Verifies the upgrade request, but gets a plain 1.1 response
2014-11-04tests: add new feature 'SSLpinning'Daniel Stenberg
... and make test 2034 and 2035 require it, and have it set when built with OpenSSL or GnuTLS.
2014-08-07runtests.pl: Pad test case numbers with up to three zeroesFabian Keil
Test case numbers with four digits have been available for a while now.
2014-07-26runtests.pl: Remove filteroff() which hasn't been used since 2001Fabian Keil
2014-07-26runtests.pl: Don't expect $TESTDIR/DISABLED to existFabian Keil
If a non-standard $TESTDIR is used the file may not be necessary. Previously a "missing" file resulted in the warning: readline() on closed filehandle D at ./runtests.pl line 4940.
2014-07-12gnutls: explicitly added SRP to the priority stringDan Fandrich
This seems to have become necessary for SRP support to work starting with GnuTLS ver. 2.99.0. Since support for SRP was added to GnuTLS before the function that takes this priority string, there should be no issue with backward compatibility.
2014-07-11tests: adjust for capitalization differences in newer gnutls-servDan Fandrich
2014-06-11NTLM: set a fake entropy for debug builds with CURL_ENTROPY setDaniel Stenberg
Curl_rand() will return a dummy and repatable random value for this case. Makes it possible to write test cases that verify output. Also, fake timestamp with CURL_FORCETIME set. Only when built debug enabled of course. Curl_ssl_random() was not used anymore so it has been removed. Curl_rand() is enough. create_digest_md5_message: generate base64 instead of hex string curl_sasl: also fix memory leaks in some OOM situations
2014-06-11Curl_rand: Use a fake entropy for debug builds when CURL_ENTROPY setSteve Holme
2014-04-29runtests.pl: Improved the check for a crash during torture testsDan Fandrich
2014-04-03runtests: insist on a <keywords> sectionDaniel Stenberg
Since all present tests now have <keywords> listed, this script will now refuse to run a given test case if no such section is provided. Hopefully this will help us make sure new test cases get keywords added at start.
2014-03-30runtests: check protocol before dataDaniel Stenberg
When the protocol part fails, the data usually does too but the protocol part is often more fundamental and often provide the clues you need to fix the test case.
2014-03-19runtests.pl: verify specified test casesDaniel Stenberg
To better allow arguments like "1 to 9999" without flooding the terminal with error messages, the given test cases range is now checked and only test numbers with existing files are actually run.