aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
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-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-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
2006-10-29Compiler warning fixYang Tse
2006-10-2730 seconds isn't long enough for this test on a loaded server.Yang Tse
2006-10-26Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and ↵Gisle Vanem
'_fstati64()' on Win32.
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-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-2330 seconds isn't long enough for this test on a loaded server.Dan Fandrich
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-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-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-06Bogdan Nicula's hanging test case was converted to test case 533 and the testDaniel Stenberg
now runs fine.
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-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-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.
2006-09-10Added select_test() function to allow selecting on no sockets onGisle Vanem
Winsock.
2006-09-09Print usage in case 'arg2 == NULL'.Gisle Vanem
2006-09-08removed the comment that isn't valid for this file, just a copy'n paste errorDaniel Stenberg
2006-09-08test 530 is the first ever HTTP pipelining test for libcurlDaniel Stenberg
2006-09-07Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg
cache within the multi handle.
2006-08-07Allow again proper compilation outside of the source treeYang Tse
2006-07-17Fix compiler warning "enumerated type mixed with another type"Yang Tse