aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2007-01-29Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.Gisle Vanem
2007-01-29the libtest source codes that use curlx_tv* functions MUST use theDaniel Stenberg
lib/timeval.c source code since those functions are not in the API (and might not be accessible)
2007-01-29- Michael Wallner reported that when doing a CONNECT with a custom User-AgentDaniel Stenberg
header, you got _two_ User-Agent headers in the CONNECT request...! Added test case 287 to verify the fix.
2007-01-28Compiler warning fixYang Tse
2007-01-27update copyright year noticeYang Tse
2007-01-25set proper lib extension for non-configure mingw32 builds on Win32.Gunter Knauf
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-23Ignore XML DOCTYPEs and declarations.Dan Fandrich
2007-01-23Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich
are not, due mainly to the lack of support for XML character entities (e.g. & => &amp; ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
2007-01-18Make the test script tag parser a bit more robust.Dan Fandrich
Check for the .exe extension on mingw32 builds.
2007-01-18Added precheck that curl supports the 'openssl' engine in test 307.Dan Fandrich
2007-01-17Fixed some tag typos in the test data files.Dan Fandrich
2007-01-17Disabled test 307 for now.Dan Fandrich
2007-01-16Added simple OpenSSL crypto engine tests.Dan Fandrich
2007-01-15Added TFTP upload tests.Dan Fandrich
2007-01-15Leave the TFTPD test server running after a file upload.Dan Fandrich
Flush the protocol log data so it's immediately available to the test harness.
2007-01-10Added test for TFTP retrieve of boundary case 512 byte file.Dan Fandrich
2007-01-10Added test of TFTP server error reporting.Dan Fandrich
2007-01-04prevent compiler warning since we use base64.h from libcurl which now hasDaniel Stenberg
function(s) using SessionHandle pointers
2006-12-11Alexey Simak found out that when doing FTP with the multi interface andDaniel Stenberg
something went wrong like it got a bad response code back from the server, libcurl would leak memory. Added test case 538 to verify the fix. I also noted that the connection would get cached in that case, which doesn't make sense since it cannot be re-use when the authentication has failed. I fixed that issue too at the same time, and also that the path would be "remembered" in vain for cases where the connection was about to get closed.
2006-11-25added the new test 282Daniel Stenberg
2006-11-25Venkat Akella found out that libcurl did not like HTTP responses that simplyDaniel Stenberg
responded with a single status line and no headers nor body. Starting now, a HTTP response on a persistent connection (i.e not set to be closed after the response has been taken care of) must have Content-Length or chunked encoding set, or libcurl will simply assume that there is no body. To my horror I learned that we had no less than 57(!) test cases that did bad HTTP responses like this, and even the test http server (sws) responded badly when queried by the test system if it is the test system. So although the actual fix for the problem was tiny, going through all the newly failing test cases got really painful and boring.
2006-11-20Revert ftpserver.pl back to revision 1.74 Adding change done in 1.76Yang Tse
This is done to back out changes done in revisions 1.77 and 1.75
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-20Revert ftp.pm back to revision 1.5 Adding copyright notice.Yang Tse
This is done to back out changes done from revisions 1.6 to 1.10
2006-11-20Add some message loggingYang Tse
2006-11-20stop slaves before stopping serversYang Tse
2006-11-20Revert to KILL test servers until all test serversYang Tse
have proper TERM and INT signal handlers implemented.
2006-11-19log the sleep, like when done in test 190Daniel Stenberg
2006-11-19Avoid passing child pid and test server pid, using the runningYang Tse
servers hash, and adjust message arguments accordingly.
2006-11-19Comment out the use of the "warnings" module now that ftp.pm seems toYang Tse
be clear of warnings. Uncomment it if this module is further modified. The "warnings" module requires perl 5.006 or later. Previous perl versions don't have it and die on missing modules.
2006-11-18Avoid keeping dupe pids When forked pid and test server pid is the same one.Yang Tse
2006-11-18Fix warning "Use of uninitialized value in ...".Yang Tse
If the list has only one item avoid sort subroutine.
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-13Tor Arntsen spotted this mistakeDaniel Stenberg
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-03add a couple more of debugging messagesYang Tse
2006-11-03reduce max size of dinamically allocated arrays to minimize the nastyYang Tse
behaviour some versions of IRIX exhibit of committing suicide on big mallocs instead of just returning a friendly null pointer
2006-11-03fix comments and renumber rlimit return codesYang Tse
fix closing of fd's when limit is reached
2006-11-03fix comments and renumber rlimit return codesYang Tse
2006-11-02remove leftover commentYang Tse
2006-11-02update and split test cases 518 and 537 into its own source code fileYang Tse
2006-11-02code cleanupYang Tse
2006-11-02use our internal string functions and replace sprintf with snprintfYang Tse
2006-11-02Update protocol verification end of linesYang Tse
2006-11-02check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.hYang Tse
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-31Sync comment with code and add three messages moreYang Tse
2006-10-30Address some pitfalls in the rlimit() function check that wereYang Tse
preventing execution of this test on many platforms