aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib502.c
AgeCommit message (Collapse)Author
2011-08-29tests: break busy loops in tests 502, 555, and 573Kamil Dudka
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-14removed trailing whitespaceYang Tse
2010-02-05Addes OOM handling for curl_easy_setopt() calls in testYang Tse
2008-09-20include "memdebug.h"Yang Tse
2007-03-10change max allowed time for this test to complete to 90 secondsYang Tse
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.
2006-10-25Add project notice and file IdYang Tse
2006-10-25Use curl_global_init() and curl_global_cleanup().Yang Tse
Improve cleanup in case of initialization failure.
2004-02-09return 'res' to better discover test failures and to stop compiler warningsDaniel Stenberg
about it never being used
2004-02-05changed the test() function to return type intDaniel Stenberg
2002-12-13lib502.c for multi interface tests on a single URL without select()Daniel Stenberg