aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2007-11-15Michal Marek fixed the test suite to better deal with the case when the HTTPDaniel Stenberg
ipv6 server can't run.
2007-11-15Replace isupper with our uppercase macro versionYang Tse
2007-11-08Fix commentYang Tse
2007-11-05Sort the directory listing because the server doesn't always do it.Dan Fandrich
2007-11-05Added some keywordsDan Fandrich
2007-11-01Ignore more features that curl-config is not expected to know aboutDan Fandrich
2007-11-01Make postcheck failure message more like the othersDan 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-31Detect curl source when valgrind provides an absolute source file nameDan Fandrich
2007-10-29Added test case 546 to check that subsequent FTP transfers work after aDan Fandrich
failed one using the multi interface
2007-10-27Fixed the 2000-series tests so that the downloaded data is actually checkedDan Fandrich
2007-10-27Made the magic testnumber > 10000 support actually workDan Fandrich
2007-10-26Fixed the test case to create only a single test file, which is all theDan Fandrich
test harness supports.
2007-10-26Check that all servers in the <server> section are supported, not justDan Fandrich
the first.
2007-10-26Detect, log and avoid storing a request with a negative size.Yang Tse
2007-10-25Disable valgrind for this test to avoid the rlimit = soft rlimit problemDan Fandrich
found by Michal Marek.
2007-10-25Added test case 2004.Dan Fandrich
Disable valgrind in test case 1004 due to a libtool bug.
2007-10-25Allow test server to handle binary POSTs.Patrick Monnerat
Tests 35, 544 545 added: binary data POSTs.
2007-10-25When valgrind is disabled in the test file, don't run it at all (as opposedDan Fandrich
to running it and ignoring its output).
2007-10-25Don't show valgrind log files of other testsYang Tse
2007-10-25Michal Marek fixed the test script to be able to use valgrind even when theDaniel Stenberg
lib is built shared with libtool.
2007-10-25Fixed a TFTP memory leak. Enabled test 2003 to verify this.Daniel Stenberg
2007-10-24Fixed the test TFTP server to support the >10000 test number notationDan Fandrich
Added test cases 2002 and 2003 (the latter disabled for now)
2007-10-24enable 2000 and 2001Daniel Stenberg
2007-10-24Added test cases 2000 and 2001 which test multiple protocols using theDan Fandrich
same easy handle Fixed the filecheck: make target to work outside the source tree
2007-10-24Fixed the test FTP server to support the >10000 test number notationDan Fandrich
2007-10-24Close log/server.input ASAP to avoid lengthy file lock on cygwinPatrick Monnerat
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-12Fixed a couple of typos that messed up the tests.Dan Fandrich
2007-10-12Added some <keywords> sections and use some key words more consistently.Dan Fandrich
2007-10-11Fixed the -l option of runtests.plDan Fandrich
Added support for skipping tests based on key words.
2007-10-09also log error message stringYang Tse
2007-10-09logmsg already appends '\n'Yang Tse
2007-10-04I enabled test 1009 and made the --local-port use a wide range to reduce theDaniel Stenberg
risk of failures.
2007-10-04Kim Rinnewitz reported that --local-port didn't work with TFTP transfers.Daniel Stenberg
This happened because the tftp code always uncondionally did a bind() without caring if one already had been done and then it failed. I wrote a test case (1009) to verify this, but it is a bit error-prone since it will have to pick a fixed local port number and since the tests are run on so many different hosts in different situations I add it in disabled state.
2007-10-04On error, close "log/server.response"Yang Tse
2007-10-03If TCP_NODELAY is not defined we can't disable the Nagle algorithmYang Tse
2007-10-02Renamed a couple of global variables to avoid shadowing warningsYang Tse
2007-10-02known bug #46: chunked-encoded CONNECT responses from a http proxy now works.Daniel Stenberg
Added test case 1008 to verify. Note that #47 is still there.
2007-10-02Disable the Nagle algorithm and send back responses in small chunks in anDaniel Stenberg
attempt to force smaller bits to get read by clients.
2007-09-30Added test536 that was accidentally missing. I also wrote up a new makefileDaniel Stenberg
target called 'filecheck' so that if you run 'make filecheck' in this directory it'll check if the local files are also mentioned in the Makefile.am so that they are properly included in release archives!
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-26Philip Langdale provided the new CURLOPT_POST301 option forDaniel Stenberg
curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify.
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.