aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
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.
2007-09-17Made the directory postprocessor more forgiving of input directory formatDan Fandrich
2007-09-12Extracting the CURLINFO_PRIVATE pointer makes no point since nothing setDaniel Stenberg
it. This caused a segfault in some fprintf() implementations. Like on Solaris.
2007-09-11Daniel S (12 September 2007)Daniel Stenberg
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649) pointed out a problem with doing an empty upload over FTP on a re-used connection. I added test case 541 to reproduce it and to verify the fix. - I noticed while writing test 541 that the FTP code wrongly did a CWD on the second transfer as it didn't store and remember the "" path from the previous transfer so it would instead CWD to the entry path as stored. This worked, but did a superfluous command. Thus, test case 541 now also verifies this fix.
2007-08-13Removed redundant dependency linesDan Fandrich
2007-08-07Fixed some icc compiler warnings.Dan Fandrich
2007-07-23Implemented only the parts of Patrick Monnerat's OS/400 patch that renamedDan Fandrich
some few internal identifiers to avoid conflicts, which could be useful on other platforms.
2007-07-17Fixed test cases 613 and 614 by improving the log postprocessor to handleDan Fandrich
a new directory listing format that newer libssh2's can provide. This is probably NOT sufficient to handle all directory listing formats that server's can provide and should be revisited.
2007-07-15convert test case 540 to use a custom Host: header as wellDaniel Stenberg