aboutsummaryrefslogtreecommitdiff
path: root/tests/data/Makefile.am
AgeCommit message (Collapse)Author
2008-08-22Fixed a problem when --dump-header - was given with more than one URL,Dan Fandrich
which caused an error when the second header was dumped due to stdout being closed. Added test case 1066 to verify. Also fixed a potential problem where a closed file descriptor might be used for an upload when more than one URL is given.
2008-08-18Added test case 557 to verify libcurl's internal curl_m*printf() functionsYang Tse
formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type.
2008-08-15Added test case 1065 to test a PUT with a single file but two URLs. ThisDan Fandrich
was discovered to be problematic while investigating an incident reported by Von back in May. curl in this case doesn't include a Content-Length: or Transfer-Encoding: chunked header which is illegal. This test case is added to DISABLED until a solution is found.
2008-08-14Added test 1063 to test an invalid large range on a file:Dan Fandrich
2008-08-12Fixed a buffer overflow problem in Curl_proxyCONNECT that could occurDan Fandrich
when a server responded with long headers and data. Luckily, the buffer overflowed into another unused buffer, so no actual harm was done. Added test cases 1060 and 1061 to verify.
2008-08-11Fixed a boundary condition error in ftp_readresp() whereby a non-terminalDan Fandrich
line of a multiline FTP response whose last byte landed exactly at the end of the BUFSIZE-length buffer would be treated as the terminal response line. The following response code read in would then actually be the end of the previous response line, and all responses from then on would correspond to the wrong command. Test case 1062 verifies this. Stop closing a never-opened ftp socket.
2008-08-08Added test1059 to test the FTP proxy tunnel problem fixed July 11.Dan Fandrich
2008-08-01Added tests 1057 and 1058 to test FTP and HTTPS transfers with rangesDan Fandrich
relative to end of file.
2008-07-31Added test of IPv6 scope handlingDan Fandrich
2008-07-30Added test cases 1052 through 1055 to test uploading data from filesDan Fandrich
during redirects. Test cases 1052 and 1055 show problems (maybe the same root cause as 1051) and are disabled.
2008-07-30Added test case 1051 to test Location: following with PUT, as reportedDan Fandrich
by Ben Sutcliffe. The test when run manually shows a problem in curl, but the test harness web server doesn't run the test correctly so it's disabled for now.
2008-07-29Return an error code when extra files are found in filecheck:Dan Fandrich
2008-07-29Added test case 1050 to test --ftp-port with an IPv6 address.Dan Fandrich
Made --interface tests less restrictive on host address.
2008-07-28Added test cases 1045 through 1049 as simple tests of --interface using theDan Fandrich
localhost interface.
2008-07-26Added test 1044 to test large file support in ftp with -I.Dan Fandrich
2008-07-15Added test1042 and test1043 to test -C - on HTTP.Dan Fandrich
2008-07-15Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it'sDan Fandrich
added to DISABLED.
2008-07-11Added test cases 1038 and 1039 to test Adrian Kreher's report that ftpDan Fandrich
uploads with -C - didn't resume properly, but the tests pass.
2008-07-10Added tests 1036 and 1037 to verify resumed ftp downloads with -C -Dan Fandrich
2008-07-07Added test cases 1034 & 1035 to test IDN name conversion failures.Dan Fandrich
2008-07-03Phil Blundell provided a fix for libcurl's treatment of unexpected 1xxDaniel Stenberg
response codes. Previously libcurl would hang on such occurances. I added test case 1033 to verify.
2008-06-22- Eduard Bloch filed the debian bug report #487567Daniel Stenberg
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that libcurl used Content-Range: instead of Range when doing a range request with --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to verify.
2008-06-19Added SSH failure test cases 628-632Dan Fandrich
2008-05-26- Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identifiedDaniel Stenberg
how the HTTP redirect following code didn't properly follow to a new URL if the new url was but a query string such as "Location: ?moo=foo". Test case 1031 was added to verify this fix.
2008-05-13Added test case 556 that uses curl_easy_send() and curl_easy_recv()Daniel Stenberg
2008-05-03- Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twiceDaniel Stenberg
when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240). The problem was that when libcurl rewound a stream meant for upload when it would prepare for a second request, it could accidentally continue the sending of the rewound data on the first request instead of on the second. Ben also provided test case 1030 that verifies this fix.
2008-04-30- To make it easier for applications that want lots of magic stuff done onDaniel Stenberg
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now introduce the new CURLINFO_REDIRECT_URL option that lets applications extract the URL libcurl would've redirected to if it had been told to. This then enables the application to continue to that URL as it thinks is suitable, without having to re-implement the magic of creating the new URL from the Location: header etc. Test 1029 verifies it.
2008-04-29Added test 1028 to test an HTTP redirect to a FTP URL.Dan Fandrich
2008-04-18Added test cases 1026 and 1027 to do some rudimentary tests on the --manualDan Fandrich
and --help options.
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-10Added test case 1025 to test a command-line cookie with Location: followingDan Fandrich
2008-04-10Added test case 1024 to test a scenario similar to the one reportedDan Fandrich
by Ben Combee where libcurl would send the wrong cookie to a redirected server. libcurl was doing the right thing in this test case.
2008-04-04oops, forgot to add test554Daniel Stenberg
2008-04-04Added test627 to test SFTP with CURLOPT_NOBODYDan Fandrich
2008-03-18Added test 626 to reproduce an infinite loop when given an invalidDan Fandrich
SFTP quote command reported by Vincent Le Normand, but left it disabled.
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-03-10Added tests 618-621 to test SFTP/SCP transfers of more than one fileDan Fandrich
(test 620 tests the just-fixed problem reported by Brian Ulm).
2008-03-06Added tests 616 and 617 to see how SFTP and SCP cope with zero-lengthDan Fandrich
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't so test 617 is disabled for now.
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-19Added test309 to test HTTP redirect to HTTPS URLDan Fandrich
2008-02-08Added tests 1022 and 1023 to validate output of curl-config --version andDan Fandrich
--vernum
2008-01-26added test 1021 to verify my fix for bug report #1879375Daniel Stenberg
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-11Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way itDaniel Stenberg
already worked for FTP:// URLs
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-15Add test 551 that tests callback-post over a proxy that requires Digest auth.Daniel Stenberg
A failed attempt to repeat bug report #1850730 (ie the test works fine).
2007-12-08add missing filesDaniel Stenberg
2007-11-26test1015 --data-urlencodeDaniel Stenberg
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