aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-04-04HTTP: don't send Content-Length: 0 _and_ Expect: 100-continueDaniel Stenberg
Without request body there's no point in asking for 100-continue. Bug: http://curl.haxx.se/bug/view.cgi?id=1349 Reported-by: JimS
2014-04-03tests: unified use of some keywordsDan Fandrich
2014-04-03tests: added some missing closing tagsDan Fandrich
2014-04-03runtests: insist on a <keywords> sectionDaniel Stenberg
Since all present tests now have <keywords> listed, this script will now refuse to run a given test case if no such section is provided. Hopefully this will help us make sure new test cases get keywords added at start.
2014-04-03tests: add keywords to the last 7 tests lacking themDaniel Stenberg
2014-04-01tests: Added SMTP with credientials test when not supported by serverSteve Holme
2014-03-31tests: Added SMTP with credentials test for RFC-821 based serverSteve Holme
Added SMTP (RFC-821 only) based test case as a reference for the fix provided by commit fe260b75e7.
2014-03-30curl: stop interpreting IPv6 literals as glob patterns.Paul Marks
This makes it possible to fetch from an IPv6 literal without specifying the -g option. Globbing remains available elsehwere in the URL. For example: curl http://[::1]/file[1-3].txt This creates no ambiguity, because there is no overlap between the syntax of valid globs and valid IPv6 literals. Globs contain hyphens and at most 1 colon, while IPv6 literals have no hyphens, and at least 2 colons. The peek_ipv6() parser simply whitelists a set of characters and counts colons, because the real validation happens later on. The character set includes A-Z, in case someone decides to implement support for scopes like [fe80::1%25eth0] in the future. Signed-off-by: Paul Marks <pmarks@google.com>
2014-03-30test938: Updated to use file input for uploadSteve Holme
As the second URL won't be passed input from stdin.
2014-03-30test836: Fixed incorrect username in expected outputSteve Holme
2014-03-30DISABLED: 836, 882 and 938 hangDaniel Stenberg
2014-03-30runtests: check protocol before dataDaniel Stenberg
When the protocol part fails, the data usually does too but the protocol part is often more fundamental and often provide the clues you need to fix the test case.
2014-03-30ftpserver.pl: Extended the full text reply regular expressionSteve Holme
Extended the regex to include other valid characters such as those used in the reply text of Test 836.
2014-03-30keywords: sort case insensitiveDaniel Stenberg
2014-03-30tests: remove trailing CRs from keywordsDaniel Stenberg
2014-03-30keywords: sort keywords alphabeticallyDaniel Stenberg
2014-03-30keywords: don't use STDERR for good infoDaniel Stenberg
2014-03-30tests: Added email unit tests to verify login credential connection re-useSteve Holme
2014-03-30tests: Corrected "APOP" authentication keywordSteve Holme
2014-03-30tests: Replaced email authentication keywords with SASL based keywordsSteve Holme
As the email protocols implement SASL authentication rather than IMAP, POP3 and SMTP specific authentication, updated the authentication keywords to reflect this.
2014-03-30tests: Added "Clear Text" authentication keywordSteve Holme
2014-03-30tests: Added "SASL" authentication keywordSteve Holme
2014-03-30ftpserver.pl: Removed some unused variablesSteve Holme
2014-03-30ftpserver.pl: Reworked some variable names to be more meaningfulSteve Holme
2014-03-29ftpserver.pl: Corrected some indentation in senddata()Steve Holme
2014-03-29lib1513: fix callback proto to silence warningDaniel Stenberg
2014-03-29ftpserver.pl: Added fallback to <data> support when using multiple URLsSteve Holme
Added support for falling back to <data> when <data1>, <data2>, etc... don't exist in the <reply> section of a unit test.
2014-03-29ftpserver.pl: Updated email based get reply data code to use new methodSteve Holme
2014-03-29ftpserver.pl: Fixed syntax error from commit 3a29ee41Steve Holme
2014-03-29ftpserver.pl: Updated argument code in STATUS_imap() to be more meaningfulSteve Holme
2014-03-29ftpserver.pl: Introduced common method for getting a test's reply dataSteve Holme
2014-03-26test1397: Fixed compilation with some SSL backendsDan Fandrich
The test is only valid when one of four SSL backends is in use, and must otherwise return success.
2014-03-26test815/816: Use authentication for both URLsDan Fandrich
The improved connection reuse logic would otherwise create a new connection for each one, which isn't supported by the test server, nor expected by the test.
2014-03-25test1397: unit test for certificate name wildcard handlingRichard J. Moore
2014-03-19runtests.pl: verify specified test casesDaniel Stenberg
To better allow arguments like "1 to 9999" without flooding the terminal with error messages, the given test cases range is now checked and only test numbers with existing files are actually run.
2014-03-15tests: made the SASL modes separate keywordsDan Fandrich
2014-03-15tests: added missing HTTP NTLM auth keywordsDan Fandrich
Also, removed an unneeded strippart
2014-03-15tests: disable valgrind on the remaining scp/sftp testsDan Fandrich
2014-03-15valgrind.supp: added another test 165 suppressionDan Fandrich
This one seems to come and go as the optimizer decides how best to inline some functions.
2014-03-14test640/1: add tests for --head with sftp and scpDan Fandrich
This option is currently rather useless with these protocols when no quote command is given, but it is valid.
2014-02-28test96: Updated accordly for recent changesSteve Holme
2014-02-26tool: Reworked argument parsing to use --next/-:Steve Holme
Follow up to commit 1a9b58fcb2 to replace the : command line option with --next and -:.
2014-02-26valgrind.supp: tweaked a test 165 suppressionDan Fandrich
A recent change seems to have slightly changed the call stack produced by the gcc optimizer.
2014-02-22stunnel: regenerated self-signed test certificate with SHA1 hashMarc Hoersken
The previous test certificate contained a MD5 hash which is not supported using TLSv1.2 with Schannel on Windows 7 or newer. See the update to this blog post on IEInternals / MSDN: http://blogs.msdn.com/b/ieinternals/archive/2011/03/25/ misbehaving-https-servers-impair-tls-1.1-and-tls-1.2.aspx "Update: If the server negotiates a TLS1.2 connection with a Windows 7 or 8 schannel.dll-using client application, and it provides a certificate chain which uses the (weak) MD5 hash algorithm, the client will abort the connection (TCP/IP FIN) upon receipt of the certificate."
2014-02-19lib1515.c: Fixed #include path in commit 647f83e809Steve Holme
2014-02-19test1515: fix compilation with msvcMaks Naumov
... or any other systems lacking a native snprintf
2014-02-17tests: Made the crypto test feature usableDan Fandrich
This feature specifies the availability of cryptographic authentication, which can be disabled at compile-time
2014-02-16ConnectionExists: re-use connections betterDaniel Stenberg
When allowing NTLM, the re-use connection logic was too focused on finding an existing NTLM connection to use and didn't properly allow re-use of other ones. This made the logic not re-use perfectly re-usable connections. Added test case 1418 and 1419 to verify. Regression brought in 8ae35102c (curl 7.35.0) Reported-by: Jeff King Bug: http://thread.gmane.org/gmane.comp.version-control.git/242213
2014-02-16sockfilt.c: add undefs which are required after 6239146eMarc Hoersken
2014-02-15valgrind: added another test 165 suppressionDan Fandrich
This one is needed with the gcc options -fstack-protector-all -O2 That brings the number of suppressions for test 165 to four, and I suspect I could find another two missing without trying very hard. I'm beginning to think suppressions isn't the best way to handle these kinds of cases.