aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
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
2007-07-15let's just export the whole argc + argv pair globally so that each test toolDaniel Stenberg
can take advantage of it however they see fit!
2007-07-14Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by ShmulikDaniel Stenberg
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-07-14add support for arg3 as the third argument...Daniel Stenberg
2007-05-16Match file times occurring in the morning.Dan Fandrich
2007-05-14Added SFTP directory listing test case 613.Dan Fandrich
2007-05-02Check the return code from curl_multi_add_handle()Dan Fandrich
2007-04-30Improved the test harness to allow running test servers on other thanDan Fandrich
the default port numbers, allowing more than one test suite to run simultaneously on the same host.
2007-04-23Added tests 610-612 to test more SFTP post-quote commands.Dan Fandrich
2007-04-05unify fopen() failure error message among tests, allowingYang Tse
the testsuite to count them as errors of the same kind
2007-04-04add debug message and expand commentYang Tse
2007-04-04test can be allowed to run if fopen() is capable of fopen()ingYang Tse
three additional files once that we have already open()ed the big bunch of file descriptors.
2007-04-04cleanupYang Tse
2007-04-04test can be allowed to run if fopen() is capable of fopen()ingYang Tse
SAFETY_MARGIN additional files once that we have already open()ed the big bunch of file descriptors.
2007-04-03Verify if the test is limited by an ancient stdio with a 256Yang Tse
open file limit. In this case the test is skipped with a message showing this limitation when the number of open files needed for the test is greater than 256.
2007-04-03try not to link with unneeded libs, avoiding global LDADDYang Tse
2007-03-16openssl/bio.h doesn't exist when we build with yassl so avoid tryingDaniel Stenberg
2007-03-10change max allowed time for this test to complete to 90 secondsYang Tse
2007-03-0330 seconds isn't long enough for this test on a loaded server.Yang Tse
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse
Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h
2007-02-20Move header file inclusion logic and definition of timevalYang Tse
struct for platforms that don't have it to setup_once.h
2007-02-20add tutil_tvdiff_secs() for completenessYang Tse
2007-02-19log a message, stating the need of openssl to run this testYang Tse
2007-02-17Replicate the configure tests that determined that timeval was available.Yang Tse
2007-02-16add debug messages for fopen() failuresYang Tse
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse