aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
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.
2006-01-13Andrew Benham fixed a race condition in the test suite that could cause theDaniel Stenberg
test script to kill all processes in the current process group!
2005-12-08If unable to get curl's version, log all failure details.Yang Tse
2005-12-06Yang Tse: With last change logging directory needs to be created sooner.Daniel Stenberg
2005-12-05Yang Tse: make runtests.pl more talkative when unable to find out curl'sDaniel Stenberg
version.
2005-09-30fixed the proper path to the tftpd serverDaniel Stenberg
2005-09-15added TFTP and TFTP-ipv6 supportDaniel Stenberg
2005-08-24valgrind version 3 renames the --logfile command line option to --log-file...Daniel Stenberg
2005-07-03Andrew Bushnell provided enough info for me to tell that we badly needed toDaniel Stenberg
fix the CONNECT authentication code with multi-pass auth methods (such as NTLM) as it didn't previously properly ignore response-bodies - in fact it stopped reading after all response headers had been received. This could lead to libcurl sending the next request and reading the body from the first request as response to the second request. (I also renamed the function, which wasn't strictly necessary but...) The best fix would to once and for all make the CONNECT code use the ordinary request sending/receiving code, treating it as any ordinary request instead of the special-purpose function we have now. It should make it better for multi-interface too. And possibly lead to less code... Added test case 265 for this. It doesn't work as a _really_ good test case since the test proxy is too stupid, but the test case helps when running the debugger to verify.
2005-06-03Andres Garcia's text mode fix for the 'data' partDaniel Stenberg
2005-05-25modified output logging, fixed the ftpslave killingDaniel Stenberg
2005-05-20Add support for text mode on stdout tests as well, and add the mode=textDaniel Stenberg
to the docs.
2005-05-17Made test case 241 precheck that the given name resolves to an ipv6 address,Daniel Stenberg
or the test is skipped. Ideally, we should let this test case go over a few frequently used IPv6 localhost aliases...
2005-05-16return, not exit, on several placesDaniel Stenberg
2005-05-06When a server is clearly running, curl is now invoked to verify that it canDaniel Stenberg
download a file from the server before the server is considered fine to use for the given test case. This should fix the cases where the server can run but curl cannot work with it.
2005-05-04now add --trace-time by default for curl testsDaniel Stenberg
2005-05-03*MAN* was this hard to track down. Had I just read the docs properly from theDaniel Stenberg
start... Anyway, fork() + exec() makes _two_ pids (in perl) that we need to track and kill after use. Thankyouverymuch.
2005-05-02Fixed the FTP server read stuff when waiting for a connect after a PASV/EPSV.Daniel Stenberg
Made the ftp server use the passed in pidfile name, and made runtests.pl pass it in properly.
2005-05-02When starting the ftp server, wait a few seconds to make really sure thatDaniel Stenberg
a pidfile for the server appears as otherwise it failed.
2005-05-02blank a few more environment variables before running a testDaniel Stenberg
2005-05-01fixed to use fork()+exec() to start test serversDaniel Stenberg
2005-04-28moved two functions to ftp.pm, made some more changes on stopping serversDaniel Stenberg
and fixed the textmode attribute thing for windows a bit
2005-04-28no, the kill servers messages need to be verbose, they're too frequentDaniel Stenberg
2005-04-28display killed pids to make it easier to see for autobuilds etcDaniel Stenberg
2005-04-28When staring a HTTP server, use the pidfile preferably since it turns outDaniel Stenberg
sometimes the server can start but curl cannot speak to it, and then we must remember the server (in order to kill it properly) anyway. Also, make sure to kill all servers on exit everywhere.
2005-04-28remove unused ftps-server code and fixed two warningsDaniel Stenberg
2005-04-281. no longer ask the server for the HTTPS pid, as it returns the HTTP pidDaniel Stenberg
(problem identified by Dan F) 2. initial text mode fix for file checks, to allow better text file testing on windows (with regard to line endings) 3. fixed to use the proper ftpserver pidfile to find pid
2005-04-27detect SSL library properly and display it on startupDaniel Stenberg
2005-04-22ignore the memdump file when showing files after a failureDaniel Stenberg
2005-04-22modified the test case success reporting, added "test N out of Y" andDaniel Stenberg
"remaining: [time]" outputs to hint users about what to expect
2005-04-18Modified the FTP server to use the new 'sockfilt' program to do all the socketDaniel Stenberg
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.
2005-04-14make the ftp server support reply/servercmd, and make SLOWDOWN work, andDaniel Stenberg
update the docs accordingly
2005-04-12support tests that requires 'OpenSSL' specificlyDaniel Stenberg
2005-03-21Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM supportDaniel Stenberg
is no longer only present when built with SSL support.
2005-03-17support multiple error codes for a test case since some things just varyDaniel Stenberg
between platforms
2005-03-16check for the HTTPS server in a manner similar to how we check for the HTTPDaniel Stenberg
server
2005-02-10Moved out the valgrind report parser to valgrind.pm, to make it easier toDaniel Stenberg
test it outside the test suite. Now we also disable valgrind usage if libcurl was built shared, as then valgrind is only testing the wrapper-script running shell which is pointless.