Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-19 | log a message, stating the need of openssl to run this test | Yang Tse | |
2007-02-17 | Replicate the configure tests that determined that timeval was available. | Yang Tse | |
2007-02-16 | add debug messages for fopen() failures | Yang Tse | |
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2007-02-09 | Include both testutil.c and testutil.h, and not just testutil.c, in the | Yang Tse | |
list of source files for those tests that use it. Otherwise testutil.h might not be found by the compiler. | |||
2007-02-09 | Some tests were using functions curlx_tvnow and curlx_tvdiff which are not | Yang 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-09 | Some tests were using functions curlx_tvnow and curlx_tvdiff which are not | Yang 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-04 | Constify argument to suburl(). Remove trailing space. | Gisle Vanem | |
2007-01-31 | when using select() instead of poll, skip the test if the number of | Yang 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-30 | fix temp string buffer variable name | Yang Tse | |
2007-01-30 | skip test on platforms on which we use select() instead | Yang Tse | |
of poll() and select() happens to be bound by FD_SETSIZE | |||
2007-01-29 | the same source file is re-used for multiple tests and I missed to add the | Daniel Stenberg | |
timval.c dependency on some of those | |||
2007-01-29 | Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs. | Gisle Vanem | |
2007-01-29 | the libtest source codes that use curlx_tv* functions MUST use the | Daniel Stenberg | |
lib/timeval.c source code since those functions are not in the API (and might not be accessible) | |||
2007-01-28 | Compiler warning fix | Yang Tse | |
2007-01-18 | Added precheck that curl supports the 'openssl' engine in test 307. | Dan Fandrich | |
2006-11-03 | add a couple more of debugging messages | Yang Tse | |
2006-11-03 | reduce max size of dinamically allocated arrays to minimize the nasty | Yang Tse | |
behaviour some versions of IRIX exhibit of committing suicide on big mallocs instead of just returning a friendly null pointer | |||
2006-11-03 | fix comments and renumber rlimit return codes | Yang Tse | |
fix closing of fd's when limit is reached | |||
2006-11-03 | fix comments and renumber rlimit return codes | Yang Tse | |
2006-11-02 | remove leftover comment | Yang Tse | |
2006-11-02 | update and split test cases 518 and 537 into its own source code file | Yang Tse | |
2006-11-02 | code cleanup | Yang Tse | |
2006-11-02 | use our internal string functions and replace sprintf with snprintf | Yang Tse | |
2006-11-02 | check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h | Yang Tse | |
2006-11-01 | test 518 is all about testing libcurl functionality | Yang 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-31 | Sync comment with code and add three messages more | Yang Tse | |
2006-10-30 | Address some pitfalls in the rlimit() function check that were | Yang Tse | |
preventing execution of this test on many platforms | |||
2006-10-29 | Compiler warning fix | Yang Tse | |
2006-10-27 | 30 seconds isn't long enough for this test on a loaded server. | Yang Tse | |
2006-10-26 | Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and ↵ | Gisle Vanem | |
'_fstati64()' on Win32. | |||
2006-10-26 | Improved 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-26 | 30 seconds isn't long enough for this test on a loaded server. | Yang Tse | |
2006-10-25 | Add project notice and file Id | Yang Tse | |
2006-10-25 | Compiler warning fix | Yang Tse | |
2006-10-25 | Use curl_global_init() and curl_global_cleanup(). | Yang Tse | |
Improve cleanup in case of initialization failure. | |||
2006-10-24 | Abort test if it seems that it would have run forever. This is just to prevent | Yang 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-23 | 30 seconds isn't long enough for this test on a loaded server. | Dan Fandrich | |
2006-10-21 | rely on the global LDADD instead of having specific ones for every program | Daniel Stenberg | |
2006-10-21 | Nir Soffer made the tests/libtest/Makefile.am use a proper variable for all | Daniel Stenberg | |
the single test applications' link and dependences, so that you easier can override those from the command line when using make. | |||
2006-10-21 | Compiler warning fix | Yang Tse | |
2006-10-20 | Oops! Actually set the limit to 30 seconds. | Yang Tse | |
2006-10-20 | Decrease the posibility of aborting a test which actually is not | Yang 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-19 | Set loop2 counter limit to 60 on this test to avoid a false positive. | Yang Tse | |
2006-10-19 | Replace tabs with spaces and Compiler warning fix. | Yang Tse | |
2006-10-19 | Compiler warning fix | Yang Tse | |
2006-10-19 | When aborting, show loop counter values when more than one counter exists. | Yang Tse | |
2006-10-19 | Abort test if it seems that it would have run forever. This is just to prevent | Yang 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-18 | Check for USE_WINSOCK instead of WIN32 where the check was done | Yang Tse | |
to verify winsock API availability. | |||
2006-10-11 | Remove redundant __CYGWIN__ symbol check | Yang Tse | |