1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/tests/libtest
Yang Tse 2f4fe0175b Some tests were using functions curlx_tvnow and curlx_tvdiff which are not
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 01:11:14 +00:00
..
.cvsignore ignore more 2004-02-17 07:57:31 +00:00
first.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib500.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib501.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib502.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib503.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib504.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib505.c Use curl_global_init() and curl_global_cleanup(). 2006-10-25 05:59:46 +00:00
lib506.c Constify argument to suburl(). Remove trailing space. 2007-02-04 12:12:02 +00:00
lib507.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib508.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib509.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib510.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib511.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib512.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib513.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib514.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib515.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib516.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib517.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib518.c when using select() instead of poll, skip the test if the number of 2007-01-31 15:34:53 +00:00
lib519.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib520.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib521.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib523.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib524.c Add project notice and file Id 2006-10-25 09:20:44 +00:00
lib525.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib526.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib530.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib533.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib536.c Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
lib537.c when using select() instead of poll, skip the test if the number of 2007-01-31 15:34:53 +00:00
Makefile.am Some tests were using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-09 01:11:14 +00:00
test307.pl Added precheck that curl supports the 'openssl' engine in test 307. 2007-01-18 18:04:20 +00:00
test.h Add project notice and file Id 2006-10-25 09:20:44 +00:00