summaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT.md
Commit message (Collapse)AuthorAgeFilesLines
* metalink: removeDaniel Stenberg2021-06-071-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning: this will make existing curl command lines that use metalink to stop working. Reasons for removal: 1. We've found several security problems and issues involving the metalink support in curl. The issues are not detailed here. When working on those, it become apparent to the team that several of the problems are due to the system design, metalink library API and what the metalink RFC says. They are very hard to fix on the curl side only. 2. The metalink usage with curl was only very briefly documented and was not following the "normal" curl usage pattern in several ways, making it surprising and non-intuitive which could lead to further security issues. 3. The metalink library was last updated 6 years ago and wasn't so active the years before that either. An unmaintained library means there's a security problem waiting to happen. This is probably reason enough. 4. Metalink requires an XML parsing library, which is complex code (even the smaller alternatives) and to this day often gets security updates. 5. Metalink is not a widely used curl feature. In the 2020 curl user survey, only 1.4% of the responders said that they'd are using it. In 2021 that number was 1.2%. Searching the web also show very few traces of it being used, even with other tools. 6. The torrent format and associated technology clearly won for downloading large files from multiple sources in parallel. Cloes #7176
* runtests: enable 'hyper mode' only for HTTP testsDaniel Stenberg2021-06-031-6/+8
| | | | | | | | | | | The 'hyper mode' makes line-ending checks work in the test suite for when hyper is used. Now it also requires that HTTP or HTTPS are mentioned as keywords to be enabled so that it doesn't wrongly adjusts tests for other protocols. This makes test 271 (TFTP) work again in hyper enabled builds. Closes #7185
* FILEFORMAT: mention sectransp as a featureDaniel Stenberg2021-05-041-0/+1
| | | | | | Been supported since at least 40259ca65 Closes #7001
* file: Support unicode urls on windowsStephan Szabo2021-02-091-0/+1
| | | | Closes https://github.com/curl/curl/pull/6501
* runtests.pl: add %TESTNUMBER variable to make copying tests more convenientFabian Keil2021-02-091-0/+1
|
* language: s/behaviour/behavior/gEmil Engler2021-01-021-1/+1
| | | | | | | | We currently use both spellings the british "behaviour" and the american "behavior". However "behavior" is more used in the project so I think it's worth dropping the british name. Closes #6395
* runtests: add support for gophers, gopher over TLSDaniel Stenberg2020-12-151-0/+3
|
* runtests: add 'wakeup' as a featureDaniel Stenberg2020-12-111-0/+1
|
* runtests: add support for %if [feature] conditionsDaniel Stenberg2020-12-111-0/+31
| | | | | | | | | ... to make tests run differently or expect different results depending on what features that are present or not in curl. Bonus: initial minor 'Hyper' awareness but nothing is using that yet Closes #6304
* runtests: make 'c-ares' a "feature" to depend onDaniel Stenberg2020-11-261-0/+1
| | | | ... also added to the docs.
* hsts: add read/write callbacksDaniel Stenberg2020-11-031-0/+1
| | | | | | | | - read/write callback options - man pages for the 4 new setopts - test 1915 verifies the callbacks Closes #5896
* runtests: add %repeat[]% for test filesDaniel Stenberg2020-10-041-0/+15
| | | | | | | ... and use this new keywords in all the test files larger than 50K to reduce their sizes and make them a lot easier to read and understand. Closes #6040
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-021-0/+1
| | | | | | | | ... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
* runtests: allow generating a binary sequence from hexDaniel Stenberg2020-10-021-0/+13
|
* ftp: make a 552 response return CURLE_REMOTE_DISK_FULLDaniel Stenberg2020-09-261-0/+1
| | | | | | | | | Added test 348 to verify. Added a 'STOR' command to the test FTP server to enable test 348. Documented the command in FILEFORMAT.md Reported-by: Duncan Wilcox Fixes #6016 Closes #6017
* tests/FILEFORMAT: document type=shell for <command>Daniel Stenberg2020-09-151-1/+4
|
* tests/FILEFORMAT: document nonewline support for <file>Daniel Stenberg2020-09-151-1/+4
| | | | | | The one in <client>, that creates files. Follow-up from b83947c8df7
* TLS naming: fix more Winssl and Darwinssl leftoversDaniel Stenberg2020-08-081-1/+1
| | | | | | | | | | | | | The CMake option is now called CMAKE_USE_SCHANNEL The winbuild flag is USE_SCHANNEL The CI jobs and build scripts only use the new names and the new name options Tests now require 'Schannel' (when necessary) Closes #5795
* runtests: move the TELNET server to a dynamic portDaniel Stenberg2020-08-061-1/+1
| | | | | | | Rename the port variable to TELNETPORT to better match the existing pattern. Closes #5785
* runtests: support dynamicly base64 encoded sections in testsDaniel Stenberg2020-08-041-0/+19
| | | | | | | | | | | | | | | | | | This allows us to make test cases to use base64 at run-time and still use and verify information determined at run-time, such as the IMAP test server's port number in test 842. This change makes 12 tests run again that basically never ran since we moved to dynamic port numbers. ftpserver.pl is adjusted to load test instructions and test number from the preprocessed test file. FILEFORMAT.md now documents the new base64 encoding syntax. Reported-by: Marcel Raad Fixes #5761 Closes #5775
* tests/FILEFORMAT.md: mention %HTTP2PORTDaniel Stenberg2020-08-031-0/+1
|
* FILEFORMAT: describe verify/stderrDaniel Stenberg2020-06-181-0/+9
|
* FILEFORMAT: add more features that tests can depend onDaniel Stenberg2020-05-271-0/+10
|
* tests: add https-proxy support to the test suiteDaniel Stenberg2020-05-141-0/+1
| | | | | | | Initial test 1630 added with basic HTTPS-proxy use. HTTPS-proxy is like HTTP proxy but with a full TLS connection to the proxy. Closes #5399
* FILEFORMAT: moved up the variables section and further polishedDaniel Stenberg2020-05-121-68/+73
|
* runtests: remove ftp2 support, not usedDaniel Stenberg2020-05-121-1/+0
| | | | | | | We once supported two separate ftp instances in the test suite. Has not been used the last decade. Closes #5375
* tests: add support for SSH server variant specific transfer pathsMarc Hoersken2020-05-021-0/+1
| | | | | | | | OpenSSH for Windows requires paths in the format of /C:/ instead of the pseudo-POSIX paths /cygdrive/c/ or just /c/ Reviewed-by: Daniel Stenberg Closes #5298
* tests: add %NOLISTENPORT and use itDaniel Stenberg2020-04-201-0/+1
| | | | | | | | | | | | The purpose with this variable is to provide a port number that is reasonably likely to not have a listener on the local host so that tests can try connect failures against it. It uses port 47 - "reserved" according to IANA. Updated six tests to use it instead of the previous different ports. Assisted-by: Emil Engler Closes #5270
* runtests: always put test number in servercmd fileDaniel Stenberg2020-04-201-0/+4
|
* tests/FILEFORMAT: converted to markdown and extendedDaniel Stenberg2020-04-191-0/+468
Closes #5261