aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2006-10-26Improved rlimit logic:Yang Tse
- Take in account RLIM_INFINITY. - Verify that soft limit is actually changed when doing so. - Show errno in case getrlimit or setrlimit fails. - Keep file descriptors open only while runing this test.
2006-10-2630 seconds isn't long enough for this test on a loaded server.Yang Tse
2006-10-25Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for theDaniel Stenberg
case when 401 or 407 are returned, *IF* no auth credentials have been given. The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401 and 407 cases when auth credentials is given, but we've now covered this somewhat more. You might get some amounts of headers transferred before this situation is detected, like for when a "100-continue" is received as a response to a POST/PUT and a 401 or 407 is received immediately afterwards. Added test 281 to verify this change.
2006-10-25Add project notice and file IdYang Tse
2006-10-25Compiler warning fixYang Tse
2006-10-25Use curl_global_init() and curl_global_cleanup().Yang Tse
Improve cleanup in case of initialization failure.
2006-10-24Abort test if it seems that it would have run forever. This is just to preventYang Tse
test hanging and actually is an indication that there's a condition that is not being properly handled at some point in the library. Remove a pair of braces and adjust indentation appropriately.
2006-10-23Avoid trying to compare more than strlen bytes.Yang Tse
2006-10-2330 seconds isn't long enough for this test on a loaded server.Dan Fandrich
2006-10-23Replace is*() macros with our own IS*() ones.Yang Tse
2006-10-21rely on the global LDADD instead of having specific ones for every programDaniel Stenberg
2006-10-21Nir Soffer made the tests/libtest/Makefile.am use a proper variable for allDaniel Stenberg
the single test applications' link and dependences, so that you easier can override those from the command line when using make.
2006-10-21Armel Asselin separated CA cert verification problems from problems withDaniel Stenberg
reading the (local) CA cert file to let users easier pinpoint the actual problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
2006-10-21Compiler warning fixYang Tse
2006-10-20Oops! Actually set the limit to 30 seconds.Yang Tse
2006-10-20Decrease the posibility of aborting a test which actually is notYang Tse
stale by replacing loop counters with timeouts. In this way the main loop of the test will be allowed to run up to 30 seconds on any platform before aborting it.
2006-10-19Set loop2 counter limit to 60 on this test to avoid a false positive.Yang Tse
2006-10-19Replace tabs with spaces and Compiler warning fix.Yang Tse
2006-10-19Compiler warning fixYang Tse
2006-10-19When aborting, show loop counter values when more than one counter exists.Yang Tse
2006-10-19Abort test if it seems that it would have run forever. This is just to preventYang Tse
test hanging and actually is an indication that there's a condition that is not being properly handled at some point in the library. Loop counter limits might need to be further increased on false positives.
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse
to verify winsock API availability.
2006-10-17buildconf already runs ares/buildconf by itself if there is an ares subdirDaniel Stenberg
present, so there's no use to doing it again in this script!
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-10-10Compiler warning fixYang Tse
2006-10-10Call curl_global_cleanup() in all code paths before exiting testYang Tse
2006-10-09Added test case 536 in an attempt to add Bogdan Nicula's problematic caseDaniel Stenberg
with multi interface and pipelining. This test just works and did not repeat the problem his test code showed, but could still serve as a useful test.
2006-10-09used for test 535 tooDaniel Stenberg
2006-10-09Compiler warning fixYang Tse
2006-10-09Bogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to testDaniel Stenberg
case 535 and it now runs fine. Again a problem with the pipelining code not taking all possible (error) conditions into account.
2006-10-08test 534 added in an attempt to repeat Bogdan Nicula's bug...Daniel Stenberg
2006-10-08modified lib533 to accept both URLs on the command lineDaniel Stenberg
2006-10-08Fix a "sockfilt" leak. When a new 'data' connection sockfilt server is started,Daniel Stenberg
make sure that a previously used one is killed first (since they re-use the same .pid file etc)
2006-10-06Bogdan Nicula's hanging test case was converted to test case 533 and the testDaniel Stenberg
now runs fine.
2006-10-06catch silly mistakes betterDaniel Stenberg
2006-10-04Dmitriy Sergeyev provided an example source code that crashed CVS libcurlDaniel Stenberg
but that worked nicely in 7.15.5. I converted it into test case 532 and fixed the problem.
2006-09-30Support for FTP third party transfers is now droppedDaniel Stenberg
2006-09-28Reported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurlDaniel Stenberg
would crash if a bad function sequence was used when shutting down after using the multi interface (i.e using easy_cleanup after multi_cleanup) so precautions have been added to make sure it doesn't any more - test case 529 was added to verify.
2006-09-27As reported in bug: #1566077 the former URL mentioned in the generated cookieDaniel Stenberg
jar has died and we now instead point out our own version of that
2006-09-24allow user in passwd state for test 280 to work (--ftp-alternative-to-user)Daniel Stenberg
2006-09-23filled in some docs for the FTP server control commandsDaniel Stenberg
2006-09-23added simple test of --ftp-alternative-to-userDaniel Stenberg
2006-09-21Added test case 531 in an attempt to repeat bug report #1561470Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1561470) that is said to crash when an FTP upload fails with the multi interface. It did not, but I made a failed upload still assume the control connection to be fine.
2006-09-20Armel Asselin fixed problems when you gave a proxy URL with user name andDaniel Stenberg
empty password or no password at all. Test case 278 and 279 were added to verify.
2006-09-13'in6addr_any' must be placed in .c-file. Added 'REAL_WIN32' forGisle Vanem
all Win32 targets except CygWin. Cleanup.
2006-09-13nicer reporting of disabled testsDaniel Stenberg
2006-09-13added CVS id and clarified the comment linesDaniel 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-12Cygwin preprocessor adjustmentsYang Tse
2006-09-11- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on aDaniel Stenberg
handle that is part of a multi handle first removes the handle from the stack. - Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL session-ID re-use on demand since there obviously are broken servers out there that misbehave with session-IDs used.