aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
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
2008-01-19Dmitry Kurochkin fixed test case 530 (pipelining)Daniel Stenberg
2008-01-17Don't abort tests 518 and 537 when unable to raise the open-file soft limitYang Tse
2008-01-16Added test 553. This test case and code is based on the bug recipe Joe MalickiDaniel Stenberg
provided for bug report #1871269, fixed on Jan 14 2008 before the 7.18.0 release.
2008-01-04Fix 'format string' compiler warningYang Tse
2007-12-26In an attempt to repeat the problem in bug report #1850730Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1850730) I wrote up test case 552. The test is doing a 70K POST with a read callback and an ioctl callback over a proxy requiring Digest auth. The test case code is more or less identical to the test recipe code provided by Spacen Jasset (who submitted the bug report).
2007-12-08correct the comment about sizeDaniel Stenberg
2007-12-08add test 549 and 550Daniel Stenberg
2007-12-05Spacen Jasset reported a problem with doing POST (with data read with aDaniel Stenberg
callback) over a proxy when NTLM is used as auth with the proxy. The bug also concerned Digest and was limited to using callback only. Spacen worked with us to provide a useful patch. I added the test case 547 and 548 to verify two variations of POST over proxy with NTLM.
2007-12-05fix compiler warningDaniel Stenberg
2007-12-05added test548 which uses the lib547 source file, preparing for test547 whichDaniel Stenberg
is supposed to repeat the bug report "NTLM proxy authentication with CURLOPT_READDATA seems broken." posted on the curl-library mailing list on dec 3 2007.
2007-11-05Sort the directory listing because the server doesn't always do it.Dan Fandrich
2007-11-01Ignore more features that curl-config is not expected to know aboutDan Fandrich
2007-11-01Added test case 1014 to compare curl-config --features with curl --versionDan Fandrich
2007-11-01Added test case 1013 to check that curl-config --protocols matches theDan Fandrich
protocols listed in curl --version
2007-10-25Allow test server to handle binary POSTs.Patrick Monnerat
Tests 35, 544 545 added: binary data POSTs.
2007-10-23Read callback should return 0 when no more data leftYang Tse
2007-10-17We use this ZERO_NULL to avoid picky compiler warnings,Yang Tse
when assigning a NULL pointer to a function pointer var.
2007-10-02Renamed a couple of global variables to avoid shadowing warningsYang Tse
2007-09-30Alex Fishman reported a curl_easy_escape() problem that was made theDaniel Stenberg
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a signed / unsigned mistake in the code. I fixed it and added test case 543 to verify.
2007-09-30Fix missing right parenthesisYang Tse
2007-09-30Fix comparison between signed and unsignedYang Tse
2007-09-27Removed cut-and-paste cruft leading to fclose() of an unopened fileDan Fandrich
2007-09-27Enabled a few more gcc warnings with --enable-debug. Renamed a fewDan Fandrich
variables to avoid shadowing global declarations.
2007-09-26Max Katsev reported that when doing a libcurl FTP request withDaniel Stenberg
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE before it does SIZE which makes it less useful. I walked over the code and made it do this properly, and added test case 542 to verify it.