aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2007-02-14compiler warning fixYang Tse
2007-02-14enhance HTTP server request input writing,Yang Tse
retrying upon EINTR errors.
2007-02-13ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' onDaniel Stenberg
the left side of @ to make it short(er).
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-02-09Include both testutil.c and testutil.h, and not just testutil.c, in theYang Tse
list of source files for those tests that use it. Otherwise testutil.h might not be found by the compiler.
2007-02-09Some tests were using functions curlx_tvnow and curlx_tvdiff which are notYang Tse
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
2007-02-09Some tests were using functions curlx_tvnow and curlx_tvdiff which are notYang Tse
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
2007-02-05Year 2038 has its own problems (32 bit integer overflow).Yang Tse
So cookie expiration date is lowered to expire at most in 2035.
2007-02-04Constify argument to suburl(). Remove trailing space.Gisle Vanem
2007-02-02compiler warning fixYang Tse
2007-02-02fix leftover updating cookie expiration dateYang Tse
2007-02-02reported in bug: #1566077 the former URL mentioned in the generated cookieYang Tse
jar has died and we now instead point out our own version of that
2007-02-02fix test case 62 which was failing due to cookies expiring 1 Feb 2007Yang Tse
2007-02-02more fixes for the testsuite cookie expiration issueYang Tse
2007-02-02cookie expiration time got us with pants at our knees.Yang Tse
Next time in 2038 :-)
2007-01-31when using select() instead of poll, skip the test if the number ofYang Tse
open file descriptors is greater than FD_SETSIZE minus SAFETY_MARGIN, also skip the test if any of the open file descriptors has a number greater than FD_SETSIZE minus SAFETY_MARGIN.
2007-01-30fix temp string buffer variable nameYang Tse
2007-01-30skip test on platforms on which we use select() insteadYang Tse
of poll() and select() happens to be bound by FD_SETSIZE
2007-01-29the same source file is re-used for multiple tests and I missed to add theDaniel Stenberg
timval.c dependency on some of those
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.