Yang Tse
63fad159e8
Skip test #558 and #559 also when using a Win32 DLL
2009-04-09 01:24:41 +00:00
Benoit Neil
e5f1480a38
(Minor update) Added labal prefixes to tests targets
2009-04-08 23:48:07 +00:00
Benoit Neil
25f626cc52
Fixed compile defines in CMake scripts
2009-04-08 11:42:45 +00:00
Daniel Stenberg
c4fba310d2
and include the .inc files in the release tarballs...
2009-04-07 22:07:07 +00:00
Benoit Neil
e9dd099870
Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake scripts), and fixed a missing define under windows in a test source file.
2009-04-07 21:59:15 +00:00
Benoit Neil
b85154f13f
Added tests (exes) targets, refactor a few things.
...
PS: Once again, sorry if the added files have executable perms on Linux.
2009-04-06 21:05:44 +00:00
Dan Fandrich
6bb9ef8de4
Call setlocale() for libtest tests to test the effects of locale-induced
...
libc changes on libcurl.
2009-01-21 04:30:05 +00:00
Dan Fandrich
b2ed1e2607
Fixed an OOM problem with test 560
2008-11-12 22:26:06 +00:00
Daniel Stenberg
d07d1a6ef8
Added test case 560:
...
This test was added after the HTTPS-using-multi-interface with OpenSSL
regression of 7.19.1 to hopefully prevent this embarassing mistake from
appearing again... Unfortunately the bug wasn't triggered by this test, which
presumably is because the connect to a local server is too fast/different
compared to the real/distant servers we saw the bug happen with.
2008-11-11 21:59:25 +00:00
Yang Tse
95a849efc2
terminate with appropriate exit code
2008-11-07 12:22:43 +00:00
Yang Tse
02fc7bb5f6
fix OOM handling
2008-10-31 14:46:48 +00:00
Yang Tse
0ce97f77e0
Use our Curl_addrinfo definition even when an addrinfo struct is available.
...
Use a wrapper function to call system's getaddrinfo().
2008-10-30 13:45:25 +00:00
Yang Tse
b17ca44f0b
fix test # 558 and 559 CFLAGS
2008-10-28 00:35:08 +00:00
Yang Tse
92f3b3895e
test #558 tests internal hash create/destroy
...
test #559 tests internal hash create/add/destroy
2008-10-27 20:01:58 +00:00
Yang Tse
310d842b70
Skip test #558 when libcurl is built with hidden symbols
2008-10-27 14:02:50 +00:00
Yang Tse
1498de83d6
For tracing purposes log a fake call to getaddrinfo
...
when allocating/building the fake Curl_addrinfo.
2008-10-27 08:20:36 +00:00
Yang Tse
39e5fa6ae8
avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfo
2008-10-27 03:00:47 +00:00
Yang Tse
dc289aa4fa
convert test #558 into something more interesting, attempting
...
now to minimally exercise some internal hash routines.
2008-10-26 21:40:20 +00:00
Yang Tse
6db8f53445
test #558 verifies loop operation using malloc() and free()
2008-10-26 03:03:29 +00:00
Dan Fandrich
88513d2d1a
Fixed some compiler warnings with gcc
2008-10-01 17:34:24 +00:00
Dan Fandrich
abe61b9926
Fixed test 539 to handle an out of memory condition that shows up now
...
that memdebug.h is included in the test programs.
2008-09-22 17:20:29 +00:00
Yang Tse
7c9631081d
fix compiler warning: external declaration in primary source file
2008-09-21 03:48:25 +00:00
Yang Tse
7beb473a3d
include "memdebug.h"
2008-09-20 04:26:55 +00:00
Yang Tse
f7ef60c13f
fix compiler warning: external definition with no prior declaration
2008-09-18 19:17:28 +00:00
Yang Tse
8b2bfa4212
fix compiler warning: external definition with no prior declaration
2008-09-18 19:02:40 +00:00
Yang Tse
a6c915aab9
fix compiler warning: external declaration in primary source file
2008-09-18 16:21:09 +00:00
Dan Fandrich
974145f61c
Changed the test data file so it passes an XML syntax check
2008-09-15 22:35:09 +00:00
Daniel Stenberg
780f13db30
Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
...
new date strings to get tested too.
2008-09-05 08:15:21 +00:00
Yang Tse
62d94ff342
Fix wrong signed int formatting string directive in test case #557 .
...
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
2008-08-24 17:10:24 +00:00
Yang Tse
95cef39def
Test case 557 now also verifies signed and unsigned int formatting.
2008-08-21 05:19:40 +00:00
Yang Tse
1c68e79091
Simplify condition check
2008-08-20 23:29:07 +00:00
Yang Tse
3e0b6a7d1f
Update test case 557
2008-08-18 18:52:13 +00:00
Yang Tse
2f71461b29
Added test case 557 to verify libcurl's internal curl_m*printf() functions
...
formatting functionality when handling signed and unsigned longs, as well as
our curl_off_t data type.
2008-08-18 09:58:08 +00:00
Dan Fandrich
9ee7a014c9
Handle short reads
2008-08-12 18:32:55 +00:00
Yang Tse
14240e9e10
Initial support of curlbuild.h and curlrules.h which allows
...
to have a curl_off_t data type no longer gated to off_t.
2008-08-07 00:29:08 +00:00
Yang Tse
1e7125ae7b
add comment for include paths
2008-07-15 05:46:49 +00:00
Dan Fandrich
336992cc54
Fixed test 553 to pass the torture test.
2008-07-11 18:23:06 +00:00
Yang Tse
d8f109176c
fallback to gettimeofday when monotonic clock is unavailable at run-time
2008-07-10 07:16:45 +00:00
Dan Fandrich
60f0b4fffe
Fixed test 554 to pass the torture test.
2008-07-08 21:16:18 +00:00
Daniel Stenberg
0e5da5b8bc
- Scott Barrett provided a test case for a segfault in the FTP code and the
...
fix for it. It occured when you did a FTP transfer using
CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but
switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being
cleared properly. Scott's test case is now known as test 539 and it
verifies the fix.
2008-07-07 20:37:07 +00:00
Daniel Stenberg
930a45e7a9
- Added CURLINFO_PRIMARY_IP as a new information retrievable with
...
curl_easy_getinfo. It returns a pointer to a string with the most recently
used IP address. Modified test case 500 to also verify this feature. The
implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
2008-06-06 17:33:35 +00:00
Dan Fandrich
d31da176eb
Made sure to pass longs in to curl_easy_setopt where necessary in the
...
libtest code.
2008-05-22 21:49:52 +00:00
Daniel Stenberg
c1dfe2c529
wait for all 129 bytes
2008-05-13 21:43:37 +00:00
Daniel Stenberg
7f88e8badb
Added test case 556 that uses curl_easy_send() and curl_easy_recv()
2008-05-13 21:42:07 +00:00
Yang Tse
ed80eb5b0f
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
...
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.
2008-05-12 02:04:21 +00:00
Yang Tse
60dd765b3d
fix syntax error: missing semicolon
2008-05-10 23:50:55 +00:00
Yang Tse
19479ea021
Internal time differences now use monotonic time source if available.
...
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09 16:31:51 +00:00
Yang Tse
b8193b6321
tests/libtest/delay.pl no longer used. The 'delay' attribute of the
...
test harness <command> subsection now provides this functionality.
2008-04-25 11:01:26 +00:00
Yang Tse
d3f46eb61b
test 1001 needs a small delay between client part execution and test
...
result file verifications to allow the test server to completely write
out all files
2008-04-18 17:25:54 +00:00
Yang Tse
72c58b0d1d
test 1001 needs a small delay between client part execution and test
...
result file verifications to allow the test server to completely write
out all files
2008-04-18 17:17:14 +00:00