aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2010-08-16progress: callback for POSTs less than MAX_INITIAL_POST_SIZEJulien Chaffraix
Add a call to Curl_pgrsSetUploadSize in this case valided by a test case. Reported by: Никита Дорохин. Bug: http://curl.haxx.se/mail/lib-2010-04/0173.html
2010-08-16Make the LD_PRELOAD path absolute in the tests that use itDan Fandrich
In some situations, libtool will change directories and perform a link step before executing the libtest test app. Since LD_PRELOAD is in effect for this entire process, the path to the binary must be absolute so it will be valid no matter in which directory the app is running.
2010-08-10callbacks: acknowledge progress callback error returnsDaniel Stenberg
When the progress callback is called during the TCP connection, an error return would accidentally not abort the operation as intended but would instead be counted as a failure to connect to that particular IP and libcurl would just continue to try the next. I made singleipconnect() and trynextip() return CURLcode properly. Added bonus: it corrected the error code for bad --interface usages, like tested in test 1084 and test 1085. Reported by: Adam Light Bug: http://curl.haxx.se/mail/lib-2010-08/0105.html
2010-08-10parse_remote_port: fix ;type= URL suffix over HTTP proxyDaniel Stenberg
Test 563 is enabled now and verifies that the combo FTP type=A URL, CURLOPT_PORT set and proxy work fine. As a bonus I managed to remove the somewhat odd FTP check in parse_remote_port() and instead converted it to a better and more generic 'slash_removed' struct field. Checking the ->protocol field isn't right since when an FTP:// URL is sent over a HTTP proxy, the protocol is HTTP but the URL was handled by the FTP code and thus slash_removed is set TRUE for this case.
2010-07-30NTLM tests: boost coverage by forcing the hostnameKamil Dudka
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it.
2010-05-28test1115: verify that unexpected 1xx responses work fineDaniel Stenberg
2010-05-27test313: a new test for CRL supportKamil Dudka
2010-05-14Fixed test 577 to work when --enable-hidden-symbols is configuredDan Fandrich
2010-05-12FTP: WILDCARDMATCH/CHUNKING/FNMATCH addedPavel Raiskup
2010-05-07multi interface: missed storing connection timeDaniel Stenberg
Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
2010-04-28test: enable valgrind for 604, seems to workDaniel Stenberg
2010-04-28add 1s post-command delay to tests 513 and 514Paul Howarth
addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
2010-04-19Implement SMTP authenticationmonnerat
2010-04-09FTP quote commands prefixed with '*' now can fail without abortingDaniel Stenberg
Prefixing the FTP quote commands with an asterisk really only worked for the postquote actions. This is now fixed and test case 227 has been extended to verify.
2010-03-31Fixed misleading test messageDan Fandrich
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-24Add .gitattributes files to turn off CRLF translation for some filesBill Hoffman
2010-03-24Fix RTSP GET_PARAMETER empty and non-empty operation.Chris Conroy
Test coverage included. Thanks to Massimo Callegari for the bug report
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-23enabled valgrindDaniel Stenberg
I ran it now successfully and it helped to pinpoint a libssh2 memory leak!
2010-02-24enable 802 and 803Yang Tse
2010-02-22_ Adjusted RFC821 HELO fallback and enabled test804Patrick Monnerat
2010-02-22- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.Patrick Monnerat
- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required). - Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO. - Test case 804 for HELO fallback.
2010-02-20- Fixed the SMTP compliance by making sure RCPT TO addresses are specifiedDaniel Stenberg
properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now get angle bracket wrapping automatically by libcurl unless the recipient starts with an angle bracket as then the app is assumed to deal with that properly on its own.
2010-02-12- Jack Zhang reported a problem with SMTP: we wrongly used multiple addressesDaniel Stenberg
in the same RCPT TO line, when they should be sent in separate single commands. I updated test case 802 to verify this. - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl tool which made it try to output it as string for the --libcurl feature which could lead to crashes.
2010-02-09Removed some erroneous "compressed" key wordsDan Fandrich
2010-02-04Modified test case 557 to additionally verify libcurl's internal curl_m*printf()Yang Tse
functions formatting functionality when handling signed and unsigned shorts.
2010-02-04added an additional second to allow test to pass on heavily loaded serversYang Tse
2010-02-03cookies with same path length might get sorted in different order whenYang Tse
using different qsort implementations. In order to make this test give same results on different systems, paths now have different lengths.
2010-02-03added an additional second to allow test to pass on heavily loaded serversYang Tse
2010-02-01update rtsp server header field from SWS to RTSPDYang Tse
2010-02-01Test suite support for RTSPYang Tse
2010-01-29Chris Conroy fixed test #568 issues with carriage returnsYang Tse
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