aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2007-11-15Michal Marek fixed the test suite to better deal with the case when the HTTPDaniel Stenberg
ipv6 server can't run.
2007-11-01Make postcheck failure message more like the othersDan Fandrich
2007-10-26Check that all servers in the <server> section are supported, not justDan Fandrich
the first.
2007-10-25When valgrind is disabled in the test file, don't run it at all (as opposedDan Fandrich
to running it and ignoring its output).
2007-10-25Don't show valgrind log files of other testsYang Tse
2007-10-25Michal Marek fixed the test script to be able to use valgrind even when theDaniel Stenberg
lib is built shared with libtool.
2007-10-11Fixed the -l option of runtests.plDan Fandrich
Added support for skipping tests based on key words.
2007-09-20Added variable substitution to the <verify><file> section.Dan Fandrich
Made a few more tests work remotely.
2007-09-17Added %CLIENTIP and %CLIENT6IP data file substitution variables.Dan Fandrich
Added hooks to the test suite to make it possible to test a curl running on a remote host.
2007-07-14add some better logging when HTTP server start fails, and make the failureDaniel Stenberg
really hard if the test server can't be resolved (like for ::1 ipv6)
2007-06-11Wait longer for servers to start up since the ssh server needs to generateDan Fandrich
keys the first time (which can take a while on a slow or loaded host). Enforce a longer startup wait time for the ssh client SOCKS server, too. Check for an error code from startnew() when starting any server.
2007-06-08Fixed the test harness so that it actually kills the ssh being used asDan Fandrich
the SOCKS server.
2007-06-08Incorporated Daniel Black's test706 and test707 SOCKS test cases.Dan Fandrich
2007-06-08Improved compatibility with perl 5.0 on the 'open' calls.Dan Fandrich
2007-06-07Changed the opens to work on older versions of perl.Dan Fandrich
Redirect ssh output to ssh.log
2007-06-07Fixed some problems in starting SSH for use in SOCKS.Dan Fandrich
2007-06-05Daniel Black's test suite fixes and initial test cases for SOCKS4/5 usingDaniel Stenberg
openssh
2007-05-30In case of test failure, try not to show log files of other testsYang Tse
2007-04-30Improved the test harness to allow running test servers on other thanDan Fandrich
the default port numbers, allowing more than one test suite to run simultaneously on the same host.
2007-04-25Added support in runtests.pl for "!n" test numbers to disable individual tests.Dan Fandrich
2007-04-25When displaying log files, truncate the really longs ones such as youDan Fandrich
would get from a torture test.
2007-04-24Treat log files and -k the same when running torture tests as when not.Dan Fandrich
2007-04-23Added <postcheck> support to the test harness.Dan Fandrich
2007-04-10Honour the -a option when -t is enabled.Dan Fandrich
2007-04-06In case of test failure, try not to show log files of other testsYang Tse
2007-04-05Further improve displaying of individual logfilesYang Tse
2007-04-03fix enumeration of disabled tests when they have the highest numberYang Tse
2007-04-03Improve displaying of logfiles making sure all lines end with \nYang Tse
and avoid using ! as last char of line.
2007-03-24Changed the test harness to attempt to gracefully shut down serversDan Fandrich
before resorting to the kill -9 hammer. Added test harness infrastructure to support scp/sftp tests, using OpenSSH as the server.
2007-03-18detect and show if built with yassl, but also set the "openssl" flag internallyDaniel Stenberg
since that is the API yassl attempts to provide
2007-03-12libcurl supplies its own crypto hash functions when SSL is disabled, soDan Fandrich
'crypto' tests aren't dependent on SSL. Compiling with --disable-crypto-auth will cause test failures, however.
2007-03-09Updated the test harness to add a new "crypto" feature check and updated theDan Fandrich
appropriate test case to use it. For now, this is treated the same as the "SSL" feature because curl doesn't list it separately.
2007-03-09Updated the test harness to check for protocol support before running eachDan Fandrich
test, fixing KNOWN_BUGS #11. Fixed some tests to more accurately specify their required servers and features.
2007-03-08Added test infrastructure to support basic FTPS tests. This currentlyDan Fandrich
supports only ftps:// URLs with --ftp-ssl-control specified, which implicitly encrypts the control channel but not the data channels. That allows stunnel to be used with an unmodified ftp server in exactly the same way that the test https server is set up. Added test case 400 as a basic FTPS test.
2007-02-225 seconds isn't always enough time to start a server on a loaded system.Dan Fandrich
2007-02-12Rob Crittenden added support for NSS (Network Security Service) for theDaniel Stenberg
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
2007-01-27update copyright year noticeYang Tse
2007-01-25Fixed a dangling pointer problem that prevented the http_proxy environmentDan Fandrich
variable from being properly used in many cases (and caused test case 63 to fail).
2007-01-18Added precheck that curl supports the 'openssl' engine in test 307.Dan Fandrich
2006-11-20Revert runtests.pl back to revision 1.212Yang Tse
This is done to back out changes done from revisions 1.213 to 1.217
2006-11-20Add some message loggingYang Tse
2006-11-20stop slaves before stopping serversYang Tse
2006-11-19Avoid passing child pid and test server pid, using the runningYang Tse
servers hash, and adjust message arguments accordingly.
2006-11-18Avoid keeping dupe pids When forked pid and test server pid is the same one.Yang Tse
2006-11-17The hash of running servers is now a hash of hashes which for each runningYang Tse
server holds not only its two main pids, but also the pidfile of the test server and the 'slavepidfiles' for ftp* servers. This allows a better control when stopping servers. Now from runtests.pl when test servers are stopped they are signalled in sequence TERM, INT and KILL allowing time in between for them to die. This will give us a chance of gracefully stopping test servers, which we didn't have when we were killing them in first instance.
2006-11-09Remove showing stderr log files unconditionally for tests 518 and 537.Yang Tse
Add failure checking for servers when fork()ed. Use same code path in 'stopserver' when called with a single or multiple pids.
2006-11-01test 518 is all about testing libcurl functionalityYang Tse
when more than FD_SETSIZE file descriptors are open. This means that if for any reason we are not able to open more than FD_SETSIZE file descriptors then test 518 should not be run. test 537 is all about testing libcurl functionality when the system has nearly exhausted the number of free file descriptors. Test 537 will try to run with very few free file descriptors.
2006-10-31Show stderr log file for test 518 unconditionally.Yang Tse
In this way we'll be able to sort out problems that might arise in the prechek phase of the 518 test. Once that 518 has been verified this change will be undone.
2006-10-27a small unification of the error text on failed server startupsDaniel Stenberg
2006-10-06catch silly mistakes betterDaniel Stenberg