aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
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
2006-09-13nicer reporting of disabled testsDaniel Stenberg
2006-09-13Added a generic way to disable test cases when "all" is run, and added theDaniel Stenberg
FTP 3rd party transfers to that file for now until I have them sorted out.
2006-09-06Invoke memanalyze from the source path and hush up about killing the FTPDaniel Stenberg
server as part of test cases
2006-05-111 - allow much longer time for the test FTP server to startup and get verifiedDaniel Stenberg
2 - store the time it took to verify it and allow that time to be used as %FTPTIME[23] in command lines to allow us to adjust better to slow hosts since test 190 failed on my slow solaris machine just because it hadn't gotten time to run all the way the test assumed all machines would reach before the time-out elapsed.
2006-05-10My Solaris test server was simply too slow to be able to respond within 4Daniel Stenberg
seconds even when everything is fine! Now we allow a test server 8 seconds to respond to still be considered ok.
2006-04-10Scan for 'stunnel4' before 'stunnel' since debian have them setup this wayDaniel Stenberg
and it should break most other systems. The "funny" part is that debian actually have a 'stunnel' setup to simulate stunnel v3 but it breaks our own stunnel-version-detect-and-adjust-to-it system. Added initial support for optionally running servers with fork support.
2006-03-03If run on a curl built shared, detect this and invoke libtool for gdbDaniel Stenberg
accordingly.
2006-01-16David Shaw finally removed all traces of Gopher and we are now officiallyDaniel Stenberg
not supporting it. It hasn't been functioning for years anyway, so this is just finally stating what already was true. And a cleanup at the same time.