aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
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-07- Scott Barrett provided a test case for a segfault in the FTP code and theDaniel Stenberg
fix for it. It occured when you did a FTP transfer using CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being cleared properly. Scott's test case is now known as test 539 and it verifies the fix.
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-21Edited some test keywords for consistencyDan Fandrich
2008-06-19Added SSH failure test cases 628-632Dan Fandrich
2008-06-12Added IPv6 keywords for some more tests that require IPv6 networking supportDan Fandrich
2008-06-08- curl the tool now deals with its command line options somewhat differently!Daniel Stenberg
All boolean options (such as -O, -I, -v etc), both short and long versions, now always switch on/enable the option named. Using the same option multiple times thus make no difference. To switch off one of those options, you need to use the long version of the option and type --no-OPTION. Like to disable verbose mode you use --no-verbose! - Added --remote-name-all to curl, which if used changes the default for all given URLs to be dealt with as if -O is used. So if you want to disable that for a specific URL after --remote-name-all has been used, you muse use -o - or --no-remote-name.
2008-06-06- Added CURLINFO_PRIMARY_IP as a new information retrievable withDaniel Stenberg
curl_easy_getinfo. It returns a pointer to a string with the most recently used IP address. Modified test case 500 to also verify this feature. The implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
2008-06-01curl returns 0 for these options nowDaniel Stenberg
2008-06-01now returns 0Daniel Stenberg
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-05-01Document that variable replacement now takes place in the test file <stdout> ↵Dan Fandrich
section.
2008-05-01use variables to support other IPs and port numbersDaniel Stenberg
2008-05-01Added precheck for hard-coded test server address and portDan Fandrich
2008-05-01Made file XML compatibleDan Fandrich
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-25Add 'timeout' and 'delay' attributes support for the test harness <command> ↵Yang Tse
subsection
2008-04-23<postcheck> delay no longer needed for this test.Yang Tse
http://curl.haxx.se/mail/lib-2008-04/0392.html
2008-04-22Remove fflush() + fsync() previously introduced accelerated writing ofYang Tse
server input and response request files of the test harness sws server. Reintroduce, for test # 1001, the <postcheck> small delay. The delay is needed even with the accelerated writing of server input and response request files in test harness sws server. http://curl.haxx.se/mail/lib-2008-04/0385.html
2008-04-22Remove previously introduced small delay to verify if it can be avoidedYang Tse
with the accelerated writing of server input and response request files in test harness sws server.
2008-04-21Make the test work with nroffs that use special escaping for bold output.Dan Fandrich
2008-04-18Added test cases 1026 and 1027 to do some rudimentary tests on the --manualDan Fandrich
and --help options.
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-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-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-22- Fixed the problem with doing a zero byte SCP transfer, verified with testDaniel Stenberg
case 617 (which was added by Daniel Fandrich 5 Mar 2008).
2008-03-18Fixed an infinite loop when given an invalid SFTP quote command.Dan 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-11updated according to the name resolve race condition fix just committedDaniel Stenberg
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- Fixed test case 405 to not fail when libcurl is built with GnuTLSDaniel Stenberg
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-09Fixed some XML parsing problems.Dan Fandrich
2008-02-09Added key words to all SSL-using tests so they can be skipped if necessary.Dan Fandrich
Removed a few unnecessary requires SSL statements.
2008-02-09Fixed test to use HTTPS as documented.Dan Fandrich
2008-02-08Missed checking in these test data files.Dan Fandrich
2008-02-08Added tests 1022 and 1023 to validate output of curl-config --version andDan Fandrich
--vernum