aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2010-01-28Chris Conroy provided first RTSP testsYang Tse
2010-01-28RTSP tests disabled until test harness RTSP support is updatedYang Tse
2010-01-22Julien Chaffraix adjusted "<name> section" line lengthYang Tse
2010-01-21Julien Chaffraix fixed line lengthsDaniel Stenberg
2010-01-20modified test case 8 to also make sure that we deal with cookies usingDaniel Stenberg
identical names but different paths properly
2010-01-19- As was pointed out on the http-state mailing list, the order of cookies in aDaniel Stenberg
HTTP Cookie: header _needs_ to be sorted on the path length in the cases where two cookies using the same name are set more than once using (overlapping) paths. Realizing this, identically named cookies must be sorted correctly. But detecting only identically named cookies and take care of them individually is harder than just to blindly and unconditionally sort all cookies based on their path lengths. All major browsers also already do this, so this makes our behavior one step closer to them in the cookie area. Test case 8 was the only one that broke due to this change and I updated it accordingly.
2010-01-19oops, I forgot to cvs add this before my previous commit (Dan FandrichDaniel Stenberg
pointed it out to me)
2010-01-19- David McCreedy brought a fix and a new test case (129) to make libcurl workDaniel Stenberg
again when downloading files over FTP using ASCII and it turns out that the final size of the file is not the same as the initial size the server reported. This is very common since servers don't take the newline conversions into account.
2010-01-18Added PEM certificate keywordDan Fandrich
2010-01-13Give the test a bit mote time to run so it passes on slow machinesYang Tse
2010-01-12Added test case #1112 which does an FTPS download with strict timeoutYang Tse
and slow data transfer in a similar way as test case #1086 does for FTP. This also exercises <killserver> section for the FTPS server.
2010-01-11- The tests/runtests.pl script now checks to see if the test case that runs isDaniel Stenberg
present in the tests/data/Makefile.am and outputs a notice message on the screen if not. Each test file has to be included in that Makefile.am to get included in release archives and forgetting to add files there is a common mistake. This is an attempt to make it harder to forget.
2010-01-07List fragment tests in Makefile.am and better provide better namesClaes Jakobsson
2010-01-06Disable tests 802 and 803Yang Tse
2010-01-06Julien Chaffraix fixed so that the fragment part in an URL is not sent to ↵Claes Jakobsson
the server anymore
2010-01-01- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. ThisDaniel Stenberg
command is a special "hack" used by the drftpd server, but even though it is a custom extension I've deemed it fine to add to libcurl since this server seems to survive and people keep using it and want libcurl to support it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also usable from the curl tool with --ftp-pret. Using this option on a server that doesn't support this command will make libcurl fail.
2009-12-30modified to get the EHLO domain from the path part of the URL instead of theDaniel Stenberg
user name
2009-12-30(SMTP) support DATA better in the server and make sure to "escape" CRLF.CRLFDaniel Stenberg
sequences in uploaded data. The test server doesn't "decode" escaped dot-lines but instead test cases must be written to take them into account. Added test case 803 to verify dot-escaping.
2009-12-29test 802 is the first SMTP test, although not strictly SMTP yet...Daniel Stenberg
2009-12-24Adjust test number mismatchYang Tse
2009-12-21test 566 was missingDaniel Stenberg
2009-12-20introducing the first IMAP FETCH testDaniel Stenberg
2009-12-17Remove pointless storing of the protocol as a string within the connectdataDaniel Stenberg
struct, and instead use the already stored string in the handler struct.
2009-12-16Test #1106 needs an ftp enabled clientYang Tse
2009-12-14- Jon Nelson found a regression that turned out to be a flaw in how libcurlDaniel Stenberg
detects and uses proxies based on the environment variables. If the proxy was given as an explicit option it worked, but due to the setup order mistake proxies would not be used fine for a few protocols when picked up from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added test case 1106 that verifies this functionality. (http://curl.haxx.se/bug/view.cgi?id=2913886)
2009-12-12introducing IMAP, POP3 and SMTP support (still lots of polish left to do)Daniel Stenberg
2009-12-10- Siegfried Gyuricsko found out that the curl manual said --retry would retryDaniel Stenberg
on FTP errors in the transient 5xx range. Transient FTP errors are in the 4xx range. The code itself only tried on 5xx errors that occured _at login_. Now the retry code retries on all FTP transfer failures that ended with a 4xx response. (http://curl.haxx.se/bug/view.cgi?id=2911279)
2009-12-07- Martin Storsjo made libcurl use the Expect: 100-continue header for postsDaniel Stenberg
with unknown size. Previously it was only used for posts with a known size larger than 1024 bytes.
2009-10-30Added test case 566 in an attempt to repeat bug 2884561Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2884561) but it seems to work for me...
2009-10-30- "Tom" posted a bug report that mentioned how libcurl did wrong when doing aDaniel Stenberg
POST using a read callback, with Digest authentication and "Transfer-Encoding: chunked" enforced. I would then cause the first request to be wrongly sent and then basically hang until the server closed the connection. I fixed the problem and added test case 565 to verify it.
2009-10-25- Dima Barsky made the curl cookie parser accept cookies even with blank orDaniel Stenberg
unparsable expiry dates and then treat them as session cookies - previously libcurl would reject cookies with a date format it couldn't parse. Research shows that the major browser treat such cookies as session cookies. I modified test 8 and 31 to verify this.
2009-09-26- John P. McCaskey posted a bug report that showed how libcurl did wrong whenDaniel Stenberg
saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem.
2009-09-26added test 1105 (disabled) - it repeats a cookie path bug we need to fixDaniel Stenberg
2009-09-17added three missing files to the dist archiveDaniel Stenberg
2009-09-14Added HTTP proxy keywordDan Fandrich
2009-09-11Renumbered test565 to test1104 to move it out of the range reserved forDan Fandrich
libcurl tests.
2009-09-10- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epochDaniel Stenberg
start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treated as a session cookie. That particular date is now made to get the value of 1.
2009-08-27disable the tests that differ between 32 and 64 bitDaniel Stenberg
2009-08-24- Introduced a SYST-based test to properly set-up name format when dealing ↵Patrick Monnerat
with the OS/400 FTP server. - Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever.
2009-08-18Pull the certificate files from the source directory. Ensure that theDan Fandrich
certificate tests only run on a localhost-hosted test server since the host name is explicitly checked.
2009-08-12Added a range of new fun date strings to try. This set of dates come from aDaniel Stenberg
mail posted to the http-state mailing list, from Adam Barth, and is said to be the set of date formats the Chrome browser code is tested against: http://www.ietf.org/mail-archive/web/http-state/current/msg00129.html libcurl parses most of them identically, but not all of them.
2009-08-12use --insecure to allow non-matching known hosts for SSH-based protocolsDaniel Stenberg
2009-08-11- Peter Sylvester made the HTTPS test server use specific certificates forDaniel Stenberg
each test, so that the test suite can now be used to actually test the verification of cert names etc. This made an error show up in the OpenSSL- specific code where it would attempt to match the CN field even if a subjectAltName exists that doesn't match. This is now fixed and verified in test 311.
2009-07-28use --insecure for the SFTP and SCP testsDaniel Stenberg
2009-06-16- When doing non-anonymous ftp via http proxies and the password is notMichal Marek
provided in the url, add it there (squid needs this).
2009-05-30Added missing NTLM feature for test 1097Dan Fandrich
2009-05-25- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointedDaniel Stenberg
out that the cookie parser would leak memory when it parses cookies that are received with domain, path etc set multiple times in the same header. While such a cookie is questionable, they occur in the wild and libcurl no longer leaks memory for them. I added such a header to test case 8.
2009-05-22Added some missing test keywordsDan Fandrich
2009-05-20Added "non-existing host" test keywords to make it easy to skip thoseDan Fandrich
tests on machines that have broken DNS configurations (such as those configured to use OpenDNS).
2009-05-17- James Bursa posted a patch to the mailing list that fixed a problem withDaniel Stenberg
no_proxy which made it not skip the proxy if the URL entered contained a user name. I added test case 1101 to verify.