aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
2008-10-27Skip test #558 when libcurl is built with hidden symbolsYang Tse
2008-10-27For tracing purposes log a fake call to getaddrinfoYang Tse
when allocating/building the fake Curl_addrinfo.
2008-10-27avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfoYang Tse
2008-10-26convert test #558 into something more interesting, attemptingYang Tse
now to minimally exercise some internal hash routines.
2008-10-26test #558 verifies loop operation using malloc() and free()Yang Tse
2008-10-01Fixed some compiler warnings with gccDan Fandrich
2008-09-22Fixed test 539 to handle an out of memory condition that shows up nowDan Fandrich
that memdebug.h is included in the test programs.
2008-09-21fix compiler warning: external declaration in primary source fileYang Tse
2008-09-20include "memdebug.h"Yang Tse
2008-09-18fix compiler warning: external definition with no prior declarationYang Tse
2008-09-18fix compiler warning: external definition with no prior declarationYang Tse
2008-09-18fix compiler warning: external declaration in primary source fileYang Tse
2008-09-15Changed the test data file so it passes an XML syntax checkDan Fandrich
2008-09-05Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these twoDaniel Stenberg
new date strings to get tested too.
2008-08-24Fix wrong signed int formatting string directive in test case #557.Yang Tse
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
2008-08-21Test case 557 now also verifies signed and unsigned int formatting.Yang Tse
2008-08-20Simplify condition checkYang Tse
2008-08-18Update test case 557Yang Tse
2008-08-18Added test case 557 to verify libcurl's internal curl_m*printf() functionsYang Tse
formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type.
2008-08-12Handle short readsDan Fandrich
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-07-15add comment for include pathsYang Tse
2008-07-11Fixed test 553 to pass the torture test.Dan Fandrich
2008-07-10fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-07-08Fixed test 554 to pass the torture test.Dan Fandrich
2008-07-07- Scott Barrett provided a test case for a segfault in the FTP code and theDaniel Stenberg
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-06-06- Added CURLINFO_PRIMARY_IP as a new information retrievable withDaniel Stenberg
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-05-22Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich
libtest code.
2008-05-13wait for all 129 bytesDaniel Stenberg
2008-05-13Added test case 556 that uses curl_easy_send() and curl_easy_recv()Daniel Stenberg
2008-05-12configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol onlyYang Tse
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-10fix syntax error: missing semicolonYang Tse
2008-05-09Internal time differences now use monotonic time source if available.Yang Tse
This also implies the removal of the winmm.lib dependency for WIN32.
2008-04-25tests/libtest/delay.pl no longer used. The 'delay' attribute of theYang Tse
test harness <command> subsection now provides this functionality.
2008-04-18test 1001 needs a small delay between client part execution and testYang Tse
result file verifications to allow the test server to completely write out all files
2008-04-18test 1001 needs a small delay between client part execution and testYang Tse
result file verifications to allow the test server to completely write out all files
2008-04-17fix compiler warning: enumerated type mixed with another typeYang Tse
2008-04-16Added test case 555, a variation of 547 but using multi interface instead ofDaniel Stenberg
easy. This was reported not working by Penugonda Chenna Reddy in http://curl.haxx.se/mail/lib-2008-04/0046.html but I fail to repeat that problem.
2008-04-07fix compiler warning: argument is incompatible with corresponding format ↵Yang Tse
string conversion
2008-03-31- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow anDaniel Stenberg
application to provide data for a multipart with the read callback. Note that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the stream option is used. This feature is verified by the new test case 554. This feature was sponsored by Xponaut.
2008-03-28Made the test work on perl 5.00Dan Fandrich
2008-03-15Spell the commands rightDan Fandrich
2008-03-13Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt toDan Fandrich
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that seems to need a call curl_easy_reset() which this test case doesn't do.
2008-02-27Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-20- We no longer support setting the CURLOPT_URL option from inside a callbackDaniel Stenberg
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location: following. The patch that introduced this feature was done for 7.11.0, but this code and functionality has been broken since about 7.15.4 (March 2006) with the introduction of non-blocking OpenSSL "connects". It was a hack to begin with and since it doesn't work and hasn't worked correctly for a long time and nobody has even noticed, I consider it a very suitable subject for plain removal. And so it was done.
2008-02-13make this test disabled properly when built with yasslDaniel Stenberg
2008-02-08Added tests 1022 and 1023 to validate output of curl-config --version andDan Fandrich
--vernum
2008-01-29add verbose output to test 509 for easier debuggingDaniel Stenberg
2008-01-21undo using internal *printf() clones for test #530Yang Tse
2008-01-20use internal *printf() clones since snprintf() not available on all platformsYang Tse