summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* set proper lib extension for non-configure mingw32 builds on Win32.Gunter Knauf2007-01-251-0/+3
|
* Fixed a dangling pointer problem that prevented the http_proxy environmentDan Fandrich2007-01-251-1/+1
| | | | | variable from being properly used in many cases (and caused test case 63 to fail).
* Ignore XML DOCTYPEs and declarations.Dan Fandrich2007-01-231-4/+7
|
* Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich2007-01-23328-106/+795
| | | | | | are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
* Make the test script tag parser a bit more robust.Dan Fandrich2007-01-182-1/+4
| | | | Check for the .exe extension on mingw32 builds.
* Added precheck that curl supports the 'openssl' engine in test 307.Dan Fandrich2007-01-184-1/+24
|
* Fixed some tag typos in the test data files.Dan Fandrich2007-01-1725-24/+24
|
* Disabled test 307 for now.Dan Fandrich2007-01-172-1/+5
|
* Added simple OpenSSL crypto engine tests.Dan Fandrich2007-01-163-1/+68
|
* Added TFTP upload tests.Dan Fandrich2007-01-153-1/+134
|
* Leave the TFTPD test server running after a file upload.Dan Fandrich2007-01-151-3/+3
| | | | Flush the protocol log data so it's immediately available to the test harness.
* Added test for TFTP retrieve of boundary case 512 byte file.Dan Fandrich2007-01-102-1/+66
|
* Added test of TFTP server error reporting.Dan Fandrich2007-01-102-1/+34
|
* prevent compiler warning since we use base64.h from libcurl which now hasDaniel Stenberg2007-01-041-1/+6
| | | | function(s) using SessionHandle pointers
* Alexey Simak found out that when doing FTP with the multi interface andDaniel Stenberg2006-12-112-1/+43
| | | | | | | | | | | 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.
* added the new test 282Daniel Stenberg2006-11-251-1/+1
|
* Venkat Akella found out that libcurl did not like HTTP responses that simplyDaniel Stenberg2006-11-2558-17/+147
| | | | | | | | | | | | | 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.
* Revert ftpserver.pl back to revision 1.74 Adding change done in 1.76Yang Tse2006-11-201-2/+2
| | | | This is done to back out changes done in revisions 1.77 and 1.75
* Revert runtests.pl back to revision 1.212Yang Tse2006-11-201-273/+183
| | | | This is done to back out changes done from revisions 1.213 to 1.217
* Revert ftp.pm back to revision 1.5 Adding copyright notice.Yang Tse2006-11-201-327/+36
| | | | This is done to back out changes done from revisions 1.6 to 1.10
* Add some message loggingYang Tse2006-11-203-29/+58
|
* stop slaves before stopping serversYang Tse2006-11-201-12/+20
|
* Revert to KILL test servers until all test serversYang Tse2006-11-201-2/+8
| | | | have proper TERM and INT signal handlers implemented.
* log the sleep, like when done in test 190Daniel Stenberg2006-11-191-0/+1
|
* Avoid passing child pid and test server pid, using the runningYang Tse2006-11-191-71/+66
| | | | servers hash, and adjust message arguments accordingly.
* Comment out the use of the "warnings" module now that ftp.pm seems toYang Tse2006-11-191-1/+1
| | | | | | | 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.
* Avoid keeping dupe pids When forked pid and test server pid is the same one.Yang Tse2006-11-181-3/+8
|
* Fix warning "Use of uninitialized value in ...".Yang Tse2006-11-181-6/+15
| | | | If the list has only one item avoid sort subroutine.
* The hash of running servers is now a hash of hashes which for each runningYang Tse2006-11-173-174/+526
| | | | | | | | | | | 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.
* Tor Arntsen spotted this mistakeDaniel Stenberg2006-11-131-1/+1
|
* Remove showing stderr log files unconditionally for tests 518 and 537.Yang Tse2006-11-091-28/+27
| | | | | | Add failure checking for servers when fork()ed. Use same code path in 'stopserver' when called with a single or multiple pids.
* add a couple more of debugging messagesYang Tse2006-11-032-1/+10
|
* reduce max size of dinamically allocated arrays to minimize the nastyYang Tse2006-11-032-7/+35
| | | | | behaviour some versions of IRIX exhibit of committing suicide on big mallocs instead of just returning a friendly null pointer
* fix comments and renumber rlimit return codesYang Tse2006-11-031-18/+20
| | | | fix closing of fd's when limit is reached
* fix comments and renumber rlimit return codesYang Tse2006-11-031-7/+9
|
* remove leftover commentYang Tse2006-11-021-4/+0
|
* update and split test cases 518 and 537 into its own source code fileYang Tse2006-11-023-167/+447
|
* code cleanupYang Tse2006-11-021-62/+33
|
* use our internal string functions and replace sprintf with snprintfYang Tse2006-11-021-19/+20
|
* Update protocol verification end of linesYang Tse2006-11-021-4/+4
|
* check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.hYang Tse2006-11-021-1/+1
|
* test 518 is all about testing libcurl functionalityYang Tse2006-11-015-59/+334
| | | | | | | | | | | | 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.
* Show stderr log file for test 518 unconditionally.Yang Tse2006-10-311-1/+13
| | | | | | | 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.
* Sync comment with code and add three messages moreYang Tse2006-10-311-2/+7
|
* Address some pitfalls in the rlimit() function check that wereYang Tse2006-10-301-69/+145
| | | | preventing execution of this test on many platforms
* Compiler warning fixYang Tse2006-10-291-1/+8
|
* a small unification of the error text on failed server startupsDaniel Stenberg2006-10-271-2/+2
|
* Update copyright year, since the file has been modifiedYang Tse2006-10-273-3/+3
|
* 30 seconds isn't long enough for this test on a loaded server.Yang Tse2006-10-271-2/+2
|
* Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and ↵Gisle Vanem2006-10-261-3/+3
| | | | | | '_fstati64()' on Win32.