aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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.
2007-09-24Immanuel Gregoire fixed KNOWN_BUGS #44: --ftp-method nocwd did not handleDaniel Stenberg
URLs ending with a slash properly (it should list the contents of that directory). Test case 351 brought back and also test 1010 was added.
2007-09-20Added variable substitution to the <verify><file> section.Dan Fandrich
Made a few more tests work remotely.
2007-09-18Use double quotes in command lines for consistency.Dan Fandrich
2007-09-18IPv6 is a required feature for these two tests, even if it's not obvious.Dan Fandrich
2007-09-17Fixed the required server entryDan Fandrich
2007-09-17Changed some FTP tests to validate the format of the PORT and EPRT commandsDan Fandrich
sent by curl, if not the addresses themselves.
2007-09-17Added %CLIENTIP and %CLIENT6IP data file substitution variables.Dan Fandrich
Added hooks to the test suite to make it possible to test a curl running on a remote host.
2007-09-17Allow setting the IP address on which to listen for connections.Dan Fandrich
2007-09-17Make the ftp server connect to the address given by curl in the PORT/EPRTDan Fandrich
instead of hard-coding it to 127.0.0.1
2007-09-17Made the directory postprocessor more forgiving of input directory formatDan Fandrich
2007-09-15Michal Marek made libcurl automatically append ";type=<a|i>" when using HTTPDaniel Stenberg
proxies for FTP urls.
2007-09-14Replaced 127.0.0.1 with %HOSTIP where possibleDan 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-09-07Added test case 1007 to test permission problem when uploading with TFTPDan Fandrich
(to validate bug #1790403).
2007-09-05Minor updatesDan Fandrich
2007-08-30Added more accurate error code returns from SFTP operations. Added testDan Fandrich
case 615 to test an SFTP upload failure.
2007-08-30Renamed several libcurl error codes and options to make them more generalDan Fandrich
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)