summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
Commit message (Collapse)AuthorAgeFilesLines
* wolfssl: refer to it as wolfSSL onlyDaniel Stenberg2019-06-101-3/+3
| | | | | | | | | | Remove support for, references to and use of "cyaSSL" from the source and docs. wolfSSL is the current name and there's no point in keeping references to ancient history. Assisted-by: Daniel Gustafsson Closes #3903
* runtests: start socksd like other serversDaniel Stenberg2019-04-151-1/+1
| | | | | | | ... without a $srcdir prefix. Triggered by the failures in several autobuilds. Closes #3781
* test: make tests and test scripts use socksd for SOCKSDaniel Stenberg2019-04-131-120/+22
| | | | Make all SOCKS tests use socksd instead of ssh.
* alt-svc: the libcurl bitsDaniel Stenberg2019-03-031-0/+10
|
* runtests: detect "schannel" as an alias for "winssl"Daniel Stenberg2019-02-261-15/+3
| | | | | | | | Follow-up to 180501cb02 Reported-by: Marcel Raad Fixes #3609 Closes #3620
* tests: add stderr comparison to the test suiteFrank Gevaerts2019-02-111-1/+53
| | | | | | | | | | The code is more or less copied from the stdout comparison code, maybe some better reuse is possible. test 1457 is adjusted to make the output actually match (by using --silent) test 506 used <stderr> without actually needing it, so that <stderr> block is removed Closes #3536
* runtests.pl: Fix perl call to include srcdirLadar Levison2019-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | - Use explicit include opt for perl calls. Prior to this change some scripts couldn't find their dependencies. At the top, perl is called using with the "-Isrcdir" option, and it works: https://github.com/curl/curl/blob/curl-7_63_0/tests/runtests.pl#L183 But on line 3868, that option is omitted. This caused problems for me, as the symbol-scan.pl script in particular couldn't find its dependencies properly: https://github.com/curl/curl/blob/curl-7_63_0/tests/runtests.pl#L3868 This patch fixes that oversight by making calls to perl sub-shells uniform. Closes https://github.com/curl/curl/pull/3496
* url: a short host name + port is not a schemeDaniel Stenberg2018-11-061-0/+7
| | | | | | | | | | | | | | | | | | | The function identifying a leading "scheme" part of the URL considered a few letters ending with a colon to be a scheme, making something like "short:80" to become an unknown scheme instead of a short host name and a port number. Extended test 1560 to verify. Also fixed test203 to use file_pwd to make it get the correct path on windows. Removed test 2070 since it was a duplicate of 203. Assisted-by: Marcel Raad Reported-by: Hagai Auro Fixes #3220 Fixes #3233 Closes #3223 Closes #3235
* axtls: removedDaniel Stenberg2018-11-011-18/+0
| | | | | | | | | | As has been outlined in the DEPRECATE.md document, the axTLS code has been disabled for 6 months and is hereby removed. Use a better supported TLS library! Assisted-by: Daniel Gustafsson Closes #3194
* runtests: use the local curl for verifyingDaniel Stenberg2018-10-311-1/+1
| | | | | | | | | ... revert the mistaken change brought in commit 8440616f53. Reported-by: Alessandro Ghedini Bug: https://curl.haxx.se/mail/lib-2018-10/0118.html Closes #3198
* runtests: skip ld_preload tests on macOSDaniel Gustafsson2018-10-071-1/+1
| | | | | | | | | | The LD_PRELOAD functionality doesn't exist on macOS, so skip any tests requiring it. Fixes #2394 Closes #3106 Reported-by: Github user @jakirkham Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* runtests: use Windows paths for Windows curlMarcel Raad2018-10-041-1/+1
| | | | | curl generated by CMake's Visual Studio generator has "Windows" in the version number.
* runtests: ignore disabled even when ranges are givenDaniel Stenberg2018-10-021-8/+17
| | | | | | | | | | | runtests.pl support running a range of tests, like "44 to 127". Starting now, the code makes sure that even such given ranges will ignore tests that are marked as disabled. Disabled tests can still be run by explictly specifying that test number. Closes #3075
* runtests.pl: run tests against the MesaLink vtls backendYiming Jing2018-09-131-0/+5
|
* pipelining: deprecatedDaniel Stenberg2018-09-051-108/+2
| | | | | | | | | | | | Transparently. The related curl_multi_setopt() options all still returns OK when pipelining is selected. To re-enable the support, the single line change in lib/multi.c needs to be reverted. See docs/DEPRECATE.md Closes #2705
* Don't use Windows path %PWD for SSH testsMarcel Raad2018-08-311-0/+2
| | | | | | | | | | | | | All these tests failed on Windows because something like sftp://%HOSTIP:%SSHPORT%PWD/ expanded to sftp://127.0.0.1:1234c:/msys64/home/bla/curl and then curl complained about the port number ending with a letter. Use the original POSIX path instead of the Windows path created in checksystem to fix this. Closes https://github.com/curl/curl/pull/2920
* http: fix for tiny "HTTP/0.9" responseDaniel Stenberg2018-08-131-1/+1
| | | | | | | | | | | Deal with tiny "HTTP/0.9" (header-less) responses by checking the status-line early, even before a full "HTTP/" is received to allow detecting 0.9 properly. Test 1266 and 1267 added to verify. Fixes #2420 Closes #2872
* runtests.pl: remove debug leftover from bb9a340c73f3Daniel Stenberg2018-06-151-1/+0
|
* runtests: support variables in <strippart>Daniel Stenberg2018-06-121-0/+2
| | | | | | | | ... and make use of that to make 1455 work better without using a fixed local port number. Fixes #2649 Closes #2650
* tests: provide 'manual' as a feature to optionally requireDaniel Stenberg2018-04-291-0/+17
| | | | | | | | | ... and make test 1026 rely on that feature so that --disable-manual builds don't cause test failures. Reported-by: Max Dymond and Anders Roxell Fixes #2533 Closes #2540
* runtests.pl: fix warning 'use of uninitialized value'Michael Kaufmann2018-03-261-1/+2
| | | | | | follow-up to a9a7b60 Closes #2428
* transfer: make HTTP without headers count correct body sizeDaniel Stenberg2018-03-151-1/+1
| | | | | | | | This is what "HTTP/0.9" basically looks like. Reported on IRC Closes #2382
* SChannel/WinSSL: Implement public key pinningmoparisthebest2018-01-251-0/+1
| | | | Closes #1429
* curl: progress bar refresh, get width using ioctl()Daniel Stenberg2018-01-221-1/+2
| | | | | | | | | | | | | Get screen width from the environment variable COLUMNS first, if set. If not, use ioctl(). If nether works, assume 79. Closes #2242 The "refresh" is for the -# output when no total transfer size is known. It will now only use a single updated line even for this case: The "-=O=-" ship moves when data is transferred. The four flying "hashes" move (on a sine wave) on each refresh, independent of data.
* HTTP: implement Brotli content encodingPatrick Monnerat2017-11-051-0/+14
| | | | | | | | | | | | This uses the brotli external library (https://github.com/google/brotli). Brotli becomes a feature: additional curl_version_info() bit and structure fields are provided for it and CURLVERSION_NOW bumped. Tests 314 and 315 check Brotli content unencoding with correct and erroneous data. Some tests are updated to accomodate with the now configuration dependent parameters of the Accept-Encoding header.
* runtests.pl: Fixed typo in messageDan Fandrich2017-10-301-1/+1
|
* runtests: support MultiSSL client featurePatrick Monnerat2017-10-191-0/+15
|
* runtests: use valgrind for torture as wellDaniel Stenberg2017-10-141-8/+34
| | | | | NOTE: it makes them terribly slow. I recommend only using valgrind for specific torture tests or using lots of patience.
* memdebug: trace send, recv and socketDaniel Stenberg2017-10-141-7/+7
| | | | | | ... to allow them to be included in torture tests too. closes #1980
* tests: add initial gssapi test using stub implementationIsaac Boukris2017-09-151-0/+9
| | | | | | | | | | | The stub implementation is pre-loaded using LD_PRELOAD and emulates common gssapi uses (only builds if curl is initially built with gssapi support). The initial tests are currently disabled for debug builds as LD_PRELOAD is not used then. Ref: https://github.com/curl/curl/pull/1687
* runtests.pl: support attribute "nonewline" in part verify/upload.Patrick Monnerat2017-09-051-0/+7
|
* runtests.pl: allow <file[1-4]> tags in client section.Patrick Monnerat2017-09-021-16/+18
| | | | This enables tests to create more than one file on the client side.
* runtests.pl: Apply strippart to upload too.Patrick Monnerat2017-09-021-0/+11
| | | | This will allow substitution of boundaries in mail messages.
* runtests: fixed case insensitive matching of keywordsDan Fandrich2017-08-191-1/+1
| | | | | Commit 5c2aac71 didn't work in the case of mixed-case keywords given on the command-line.
* runtests: match keywords case insensitivelyDaniel Stenberg2017-08-141-3/+3
|
* docs/comments: Update to secure URL versionsViktor Szakats2017-08-081-1/+1
| | | | Closes #1741
* test1452: add telnet negotiationMax Dymond2017-07-071-2/+157
| | | | | | | Add a basic telnet server for negotiating some telnet options before echoing back any data that's sent to it. Closes #1645
* runtests: support "threaded-resolver" as a featureDaniel Stenberg2017-07-061-0/+10
| | | | ... to let tests require it or skip if present
* test1451: add SMB support to the testbedMax Dymond2017-07-041-2/+159
| | | | | | | Add test 1451 which does some very basic SMB testing using the impacket SMB server. Closes #1630
* test1450: add simple testing for DICTMax Dymond2017-06-301-3/+96
| | | | | | | Add a new server which provides a DICT interface. This is intended to begin coverage testing for lib/dict.c Closes #1615
* runtests.pl: removed <precommand> featureDan Fandrich2017-05-281-15/+0
| | | | | This hasn't been used in over a decade. <precheck> can still be used to run commands before the main test.
* runtests.pl: removed unused arguments to valgrindparseDan Fandrich2017-05-271-1/+1
|
* SecureTransport/DarwinSSL: Implement public key pinningmoparisthebest2017-05-151-0/+1
| | | | Closes #1400
* tests: made a couple of prechecks consistent with othersDan Fandrich2017-05-131-5/+0
| | | | | | | | | | Also removed a TODO suggesting caching the precheck results. Tests showed this would save about 0.1 sec on the total test run time on a relatively modern system, an unnoticeable gain at the cost of longer and more complicated code. There would also be a danger that a cached test result would be inappropriately returned, such as when other test dependencies (like environment variables) are different or when the precheck causes side effects (like filesystem changes).
* runtests: fix "use of undefined value" warning in -R handlingDaniel Stenberg2017-05-081-1/+5
|
* runtests.pl: simplify the datacheck read sectionDan Fandrich2017-05-061-26/+7
| | | | Also, document that numbered datacheck sections are possible.
* runtests: use -R for random orderDaniel Stenberg2017-05-051-3/+3
| | | | Suggested-by: Dan Fandrich
* runtests: add -o to run test cases in scrambled orderDaniel Stenberg2017-05-041-5/+24
| | | | | | ... instead of numerical order. Closes #1466
* runtests.pl: support multiline <postcheck> commandsDan Fandrich2017-04-291-1/+1
|
* runtests.pl: fixed display of the Gopher IPv6 port numberDan Fandrich2017-03-201-1/+1
|