aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-10-30base64: Added basic validation to base64 input string when decodingSteve Holme
A base64 string should be a multiple of 4 characters in length, not contain any more than 2 padding characters and only contain padding characters at the end of string. For example: Y3VybA== Strings such as the following are considered invalid: Y= - Invalid length Y== - Invalid length Y=== - More than two padding characters Y=x= - Padding character contained within string
2013-10-26FTP: make the data connection work when going through proxyDaniel Stenberg
This is a regression since the switch to always-multi internally c43127414d89c. Test 1316 was modified since we now clearly call the Curl_client_write() function when doing the LIST transfer part and then the handler->protocol says FTP and ftpc.transfertype is 'A' which implies text converting even though that the response is initially a HTTP CONNECT response in this case.
2013-10-26tests: Tidy up of SMTP and POP3 testsSteve Holme
Corrected line endings, RFC references and standardised on user names and passwords used in the tests.
2013-10-26test907: Corrected DIGEST-MD5 response given in commit 820ed48a0088cdSteve Holme
As the URI, which is contained within the DIGEST-MD5 response, is constructed from the service and realm, the encoded message differs from that generated under POP3.
2013-10-25tests: Added SMTP OAUTH2 authentication with initial response testSteve Holme
2013-10-25tests: Added SMTP NTLM authentication with initial response testSteve Holme
2013-10-25tests: Added SMTP OAUTH2 authentication testSteve Holme
2013-10-25tests: Added SMTP DIGEST-MD5 authentication testSteve Holme
2013-10-25tests: Regrouped SMTP authentication testsSteve Holme
2013-10-23ftpserver.pl: Added support for empty pop3 authentication dataSteve Holme
2013-10-23tests: Added POP3 OAUTH2 authentication testSteve Holme
2013-10-23tests: Added empty response support to custom repliesSteve Holme
...and fixed up test869 as DIGEST-MD transcript is as follows: S: Challenge C: Authentication String S: Continue Response C: Empty String
2013-10-23tests: Added POP3 DIGEST-MD5 authentication testSteve Holme
2013-10-22test1240: verify 867b52a7ac52 (glob ranges with text to the right)Daniel Stenberg
2013-10-20ftpserver.pl: Fixed syntax error from commit 5b31b38c27bb7aSteve Holme
2013-10-19test866: Fixed user response from commit 7f7fbe7fbdb449Steve Holme
2013-10-19ftpserver.pl: Fixed processing of POP3 authentication stringsSteve Holme
...and corrected response when check fails from 500 to -ERR.
2013-10-19tests: Added POP3 NTLM authentication testSteve Holme
2013-10-19tests: Added POP3 CRAM-MD5 authentication testSteve Holme
2013-10-19tests: Added POP3 login authentication testSteve Holme
2013-10-19tests: Added POP3 plain authentication testSteve Holme
2013-10-19tests: Added POP3 APOP authentication testSteve Holme
2013-10-19ftpserver.pl: Added support for APOP POP3 authenticationSteve Holme
2013-10-19tests: Added POP3 RSET testSteve Holme
2013-10-15test906: Fixed failing test on some platformsSteve Holme
Bug: http://sourceforge.net/p/curl/bugs/1291 Reported-by: David Walser
2013-10-07test1239: verify 4cd444e01ad and the simulated 304 responseDaniel Stenberg
2013-09-29tests: Fixed typos from commit 25a0c96a494297Steve Holme
2013-09-29tests: Updated email addresses in SMTP tests following recent changesSteve Holme
2013-09-29test909: Removed custom EHLO response after recent changesSteve Holme
...as it is no longer required following capability and authentication changes and is now causing problems following commit 49341628b50007 as the test number is obtained from the client address in the EHLO.
2013-09-29ftpserver.pl: Fixed compilation error from commit 49341628b50007Steve Holme
2013-09-29ftpserver.pl: Moved specifying the test number from the RCPT addressSteve Holme
...to the client address as this frees the RCPT strings to contain just an email address and by passing the test number into curl as the client address remains consistent with POP3 and IMAP tests as they are specified in the URL.
2013-09-29ftpserver.pl: Added unwanted argument check to SMTP DATA command handlerSteve Holme
2013-09-23test906: Fixed type-2 responseSteve Holme
2013-09-23test915: Corrected test number from commit 22bccb0edaf041Steve Holme
2013-09-23test906: Fixed type-1 message not handled errorSteve Holme
...from commit f81d1e16664976 due to copy paste error.
2013-09-22tests: Added SMTP AUTH NTLM testSteve Holme
2013-09-22tests: Added SMTP multiple and invalid --mail-rcpt testSteve Holme
2013-09-22tests: Added SMTP multiple --mail-rcpt testSteve Holme
2013-09-22tests: Added SMTP invalid --mail-rcpt testSteve Holme
2013-09-22tests: Regrouping of SMTP testsSteve Holme
2013-09-22test1112: Increase the timeout from 7s to 16sBenoit Sigoure
As someone reported on the mailing list a while back, the hard-coded arbitrary timeout of 7s in test 1112 is not sufficient in some build environments. At Arista Networks we build and test curl as part of our automated build system, and we've run into this timeout 170 times so far. Our build servers are typically quite busy building and testing a lot of code in parallel, so despite being beefy machines with 32 cores and 128GB of RAM we still hit this 7s timeout regularly. URL: http://curl.haxx.se/mail/lib-2010-02/0200.html
2013-09-22tests: Fixed smtp rcpt to addressesSteve Holme
2013-09-22ftpserver.pl: Expanded the SMTP RCPT handler to validate TO addressesSteve Holme
RCPT_smtp() will now check for a correctly formatted TO address which allows for invalid recipient addresses to be added.
2013-09-22ftpserver.pl: Added cURL SMTP server detection to HELO command handlerSteve Holme
As curl will send a HELO command after an negative EHLO response, added the same detection from commit b07709f7417c3e to the HELO handler to ensure the test server is identified correctly and an upload isn't performed.
2013-09-22ftpserver.pl: Corrected response code for successful RCPT commandSteve Holme
2013-09-22ftpserver.pl: Moved invalid RCPT TO: address detection to RCPT handlerSteve Holme
Rather than detecting the TO address as missing in the DATA handler, moved the detection to the RCPT command handler where an error response can be generated.
2013-09-21ftpserver.pl: Moved cURL SMTP server detection into EHLO command handlerSteve Holme
Moved the special SMTP server detection code from the DATA command handler, which happens further down the operation chain after EHLO, MAIL and RCPT commands, to the EHLO command as it is the first command to be generated by a SMTP operation as well as containing the special "verifiedserver" string from the URL. This not only makes it easier and quicker to detect but also means that cURL doesn't need to specify "verifiedserver" as --mail-from and --mail-rcpt arguments. More importantly, this also makes the upcoming verification changes to the RCPT handler easier to implement.
2013-09-21test1415: adjusted to work for 32bit time_tDaniel Stenberg
The libcurl date parser returns INT_MAX for all dates > 2037 so this test is now made to use 2037 instead of 2038 to work the same for both 32bit and 64bit time_t systems.
2013-09-21tests: Reworked existing SMTP tests to be single recipient basedSteve Holme
...in preparation of upcoming multiple recipient tests.
2013-09-20ftpserver.pl: Corrected SMTP QUIT response to be more realisticSteve Holme