aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-02-04URLs: follow GitHub project rename (also Travis CI)Viktor Szakats
Closes #632
2016-02-02URLs: change more http to httpsViktor Szakats
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2016-02-02dotdot: allow an empty input string tooDaniel Stenberg
It isn't used by the code in current conditions but for safety it seems sensible to at least not crash on such input. Extended unit test 1395 to verify this too as well as a plain "/" input.
2016-01-18tests: Add a test for pinnedpubkey fail even when insecureJay Satiro
Because disabling the peer verification (--insecure) must not disable the public key pinning check (--pinnedpubkey).
2016-01-11lib: Prefix URLs with lower-case protocol names/schemesMohammad AlSaleh
Before this patch, if a URL does not start with the protocol name/scheme, effective URLs would be prefixed with upper-case protocol names/schemes. This behavior might not be expected by library users or end users. For example, if `CURLOPT_DEFAULT_PROTOCOL` is set to "https". And the URL is "hostname/path". The effective URL would be "HTTPS://hostname/path" instead of "https://hostname/path". After this patch, effective URLs would be prefixed with a lower-case protocol name/scheme. Closes #597 Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2016-01-10runtests: Add mbedTLS to the SSL backendsJay Satiro
.. and enable SSLpinning tests for mbedTLS, BoringSSL and LibreSSL.
2016-01-08connection reuse: IDN host names fixedMichael Kaufmann
Use the ACE form of IDN hostnames as key in the connection cache. Add new tests. Closes #592
2016-01-07tests: mark IPv6 FTP and FTPS tests with the FTP keywordDaniel Stenberg
2015-12-26test 1515: add data checkMarc Hoersken
2015-12-26test 1515: add MSYS support by passing a relative pathMarc Hoersken
MSYS would otherwise turn a /-style path into a C:\-style path.
2015-12-26test 539: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
While still using datacheck mode binary for the inline reply data.
2015-12-26runtests.pl: check up to 5 data parts with different text modesMarc Hoersken
Move the text-mode conversion for reply/replycheck from the verify section into the load section and add support for 4 more check parts.
2015-12-24tests 1048 and 1050: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-24tests 706 and 707: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-24tests 400,403,406: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-23sockfilt.c: fix calculation of sleep timeout on WindowsMarc Hoersken
Not converting to double caused small timeouts to be skipped.
2015-12-23tests first.c: fix calculation of sleep timeout on WindowsMarc Hoersken
Not converting to double caused small timeouts to be skipped.
2015-12-23test 573: add more debug outputMarc Hoersken
2015-12-23test 16: fix on Linux (and Windows) by using plain ASCII charactersMarc Hoersken
Follow up on b064ff0c351bb287557228575ef4c1d079b866fb, thanks Daniel.
2015-12-23tftpd server: add Windows support by writing files in binary modeMarc Hoersken
2015-12-23tests 252-255: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-23test 16: fix on Windows by converting data file from ANSI to UTF-8Marc Hoersken
2015-12-17test 1326: fix file check since curl is outputting binary dataMarc Hoersken
2015-12-17test 1326: fix getting stuck on Windows due to incomplete requestMarc Hoersken
The request needs to be read and send in binary mode in order to use CRLF instead of LF. Adding --upload-file - causes curl to read stdin in binary mode.
2015-12-16sockfilt.c: added some debug output to select_wsMarc Hoersken
2015-12-16sockfilt.c: keep lines shorter than 80 charsMarc Hoersken
2015-12-16sockfilt.c: do not wait on unreliable file or pipe handleMarc Hoersken
The previous implementation caused issues on modern MSYS2 runtimes.
2015-12-13curl: use 2TLS by defaultDaniel Stenberg
Make this the default for the curl tool (if built with HTTP/2 powers enabled) unless a specific HTTP version is requested on the command line. This should allow more users to get HTTP/2 powers without having to change anything.
2015-12-03tests: Corrected copy and pasted comments from commit e643c5c908Steve Holme
2015-12-02test947: Corrected typo in test nameSteve Holme
2015-12-02tests: Disable the OAUTHBEARER tests when using a non-default port numberSteve Holme
Tests 842, 843, 844, 845, 887, 888, 889, 890, 946, 947, 948 and 949 fail if a custom port number is specified via the -b option of runtests.pl. Suggested by: Kamil Dudka Bug: http://curl.haxx.se/mail/lib-2015-12/0003.html
2015-11-24test1513: make sure the callback is only called onceDaniel Stenberg
2015-11-21Makefile.inc: Fixed test run errorSteve Holme
test845 not present in tests/data/Makefile.inc
2015-11-20tests: Re-enabled tests 889 and 890 following POP3 fixSteve Holme
2015-11-15tests: Disabled 889 and 890 until we support POP3 continuation responsesSteve Holme
As POP3 final and continuation responses both begin with a + character, and both the finalcode and contcode variables in SASLprotoc are set as such, we cannot tell the difference between them when we are expecting an optional continuation from the server such as the following: + something else from the server +OK final response Disabled these tests until such a time we can tell the responses apart.
2015-11-15tests: Corrected typos from commit ba4d8f7ebaSteve Holme
2015-11-15tests: Added OAUTHBEARER failure response testsSteve Holme
2015-11-14tests: Renamed existing OAuth 2.0 (XOAUTH) testsSteve Holme
2015-11-14tests: Added OAuth 2.0 (OAUTHBEARER) testsSteve Holme
2015-11-12unit1603: Demote hash mismatch failure to a warningdfandrich
The hashes can vary between architectures (e.g. Sparc differs from x86_64). This is not a fatal problem but just reduces the coverage of these white-box tests, as the assumptions about into which hash bucket each key falls are no longer valid.
2015-11-12unit1603: Added unit tests for hash functionsdfandrich
2015-11-12unit1602: Fixed failure in torture testdfandrich
2015-11-12runtests: more compact "System characteristics" outputDaniel Stenberg
- no point in repeating curl features that is already listed as features from the curl -V output - remove the port numbers/unix domain path from the output unless verbose is used, as that is rarely interesting to users.
2015-11-12runtests: rename conditional curl-features to $has_[name]Daniel Stenberg
2015-11-08imap: Don't check for continuation when executing a CUSTOMREQUESTJustin Ehlert
Bug: https://github.com/bagder/curl/issues/486 Closes https://github.com/bagder/curl/pull/487
2015-11-06tftp tests: verify sent options tooDaniel Stenberg
The tftpd test server now logs all received options and thus all TFTP test cases need to match them exactly. Extended test 283 to use and verify --tftp-blksize.
2015-11-02http redirects: %-encode bytes outside of ascii rangeDaniel Stenberg
Apparently there are sites out there that do redirects to URLs they provide in plain UTF-8 or similar. Browsers and wget %-encode such headers when doing a subsequent request. Now libcurl does too. Added test 1138 to verify. Closes #473
2015-11-02formadd: support >2GB files on windowsDaniel Stenberg
Closes #425
2015-10-23test1137: verify --ignore-content-length for FTPDaniel Stenberg