aboutsummaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
AgeCommit message (Collapse)Author
2013-06-04sws: support extracting test number from CONNECT ipv6-address!Daniel Stenberg
If an ipv6-address is provided to CONNECT, the last hexadecimal group in the address will be used as the test number! For example the address "[1234::ff]" would be treated as test case 255.
2013-05-07runtests.pl: support nonewline="yes" in client/stdin sectionsDaniel Stenberg
2013-04-12FTP: handle a 230 welcome responseDaniel Stenberg
...instead of the 220 we otherwise expect. Made the ftpserver.pl support sending a custom "welcome" and then created test 1219 to verify this fix with such a 230 welcome. Bug: http://curl.haxx.se/mail/lib-2013-02/0102.html Reported by: Anders Havn
2013-03-27test1509: verify proxy header response headers countDaniel Stenberg
Modified sws to support and use custom CONNECT responses instead of the previously naive hard-coded version. Made the HTTP test server able to extract test case number from the host name in a CONNECT request by finding the number after the last dot. It makes 'machine.moo.123' use test case 123. Adapted a larger amount of tests to the new <connect> style. Bug: http://curl.haxx.se/bug/view.cgi?id=1204 Reported by: Martin Jansen
2013-03-15tests: add #96 #558 and #1330Yang Tse
These verfy that the 'memory tracking' subsystem is actually doing its job when using curl tool (#96), a test in libtest (#558) and also a unit test (#1330), in order to prevent regressions in this functionallity.
2013-03-15HTTP proxy: insert slash in URL if missingDaniel Stenberg
curl has been accepting URLs using slightly wrong syntax for a long time, such as when completely missing as slash "http://example.org" or missing a slash when a query part is given "http://example.org?q=foobar". curl would translate these into a legitimate HTTP request to servers, although as was shown in bug #1206 it was not adjusted properly in the cases where a HTTP proxy was used. Test 1213 and 1214 were added to the test suite to verify this fix. The test HTTP server was adjusted to allow us to specify test number in the host name only without using any slashes in a given URL. Bug: http://curl.haxx.se/bug/view.cgi?id=1206 Reported by: ScottJi
2012-09-04FILEFORMAT: the FTP commands work for more protocolsDaniel Stenberg
2012-07-12connection-monitor: always log disconnect when enabledDaniel Stenberg
This makes verifying easier and makes us more sure curl closes the connection only at the correct point in time. Adjusted test 206 and 1008 accordingly and updated the docs for it.
2012-07-05FILEFORMAT: provided a full description of connection-monitorDaniel Stenberg
2012-07-05sws: add 'connection-monitor' command supportDaniel Stenberg
Using this, the server will output in the protocol log when the connection gets disconnected and thus we will verify correctly in the test cases that the connection doesn't get closed prematurely. This is important for example NTLM to work. Documentation added to FILEFORMAT, test 503 updated to use this.
2012-06-21tests: Added Metalink test case # 2005Tatsuhiro Tsujikawa
2012-01-03test proxy supports CONNECTDaniel Stenberg
There's a new 'http-proxy' server for tests that runs on a separate port and lets clients do HTTP CONNECT to other ports on the same host to allow us to test HTTP "tunneling" properly. Test cases now have a <proxy> section in <verify> to check that the proxy protocol part matches correctly. Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316 was added.
2011-12-15Correct substitution var namesColin Hogben
Two variable names were wrong in the documentation.
2011-10-06test harness: non-stunnel https server integration overhaulYang Tse
2011-08-04runtests.pl: support option=no-includeDaniel Stenberg
2011-07-19runtests: add 'debug' as a feature a test can requireDaniel Stenberg
2011-01-21Mention axTLS in some more documentationDan Fandrich
2011-01-19TLS-SRP: support added when using GnuTLSQuinn Slack
2011-01-03unittests: a dedicated feature in testsDaniel Stenberg
The test runner script now knows if unittests can run and the unit test setup file says it is one. I also made runtests.pl deal with no <command> tag set, so that the description file can get even simpler.
2010-11-03runtests: allow tests written as perl scriptsDaniel Stenberg
If a command is set type="perl", it can now specify a perl program that will be run instead of an ordinary curl or built tool. A perl test automatically disables memory and valgrind debugging.
2010-10-02sws: Added writedelay HTTP server commandDan Fandrich
This delays between write operations, hopefully making it easier to spot problems where libcurl doesn't flush the socket properly before waiting for the next response.
2010-04-10mention missing test servers for <server>Daniel Stenberg
2010-02-01Test suite support for RTSPYang Tse
2009-05-30Added missing NTLM feature for test 1097Dan Fandrich
2009-01-07Always use nocheck="yes" for consistencyDan Fandrich
2008-11-25If a HTTP request is Basic and num is already >=1000, the HTTP test serverDan Fandrich
adds 1 to num to get the data section to return. This allows testing authentication negotiations using the Basic authentication method.
2008-10-30SLOWDOWN actually causes a 0.01 second delay between bytesDan Fandrich
2008-10-15A <precheck> command is considered to have failed if it returns a non-zeroDan Fandrich
return code. This way, if the precheck command can't be run at all for whatever reason, it's treated as a precheck failure which causes the test to be skipped.
2008-08-29- When libcurl was doing a HTTP POST and the server would respond withDaniel Stenberg
"Connection: close" and actually close the connection after the response-body, libcurl could still have outstanding data to send and it would not properly notice this and stop sending. This caused weirdness and sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222 Note that there are still reasons to consider libcurl's behavior when getting a >= 400 response code while sending data, as Craig Perras' note "http upload: how to stop on error" specifies: http://curl.haxx.se/mail/archive-2008-08/0138.html
2008-07-27Added feature in runtests.pl to select tests based on key word.Dan Fandrich
2008-05-01Document that variable replacement now takes place in the test file <stdout> ↵Dan Fandrich
section.
2008-04-25Add 'timeout' and 'delay' attributes support for the test harness <command> ↵Yang Tse
subsection
2008-03-06Fixed the test harness so it will write out zero-length data files.Dan Fandrich
2008-01-04"yes" must be in quotes to be XML compatibleDan Fandrich
2008-01-04Daniel Egger provided 'nonewline=yes' support for the <stdout> sectionDaniel Stenberg
2007-10-27Fixed the 2000-series tests so that the downloaded data is actually checkedDan Fandrich
2007-09-20Added variable substitution to the <verify><file> section.Dan Fandrich
Made a few more tests work remotely.
2007-09-17Added %CLIENTIP and %CLIENT6IP data file substitution variables.Dan Fandrich
Added hooks to the test suite to make it possible to test a curl running on a remote host.
2007-09-05Minor updatesDan Fandrich
2007-08-23Allow ftp server alternate replies to contain backslash-escaped controlDan Fandrich
characters.
2007-06-05Daniel Black's test suite fixes and initial test cases for SOCKS4/5 usingDaniel Stenberg
openssh
2007-04-30Improved the test harness to allow running test servers on other thanDan Fandrich
the default port numbers, allowing more than one test suite to run simultaneously on the same host.
2007-04-23Added <postcheck> support to the test harness.Dan Fandrich
2007-04-23Mention NSS, <postcmd> commandsDan Fandrich
2007-03-24Changed the test harness to attempt to gracefully shut down serversDan Fandrich
before resorting to the kill -9 hammer. Added test harness infrastructure to support scp/sftp tests, using OpenSSH as the server.
2007-03-18language fixDaniel Stenberg
2007-03-09Updated the test harness to add a new "crypto" feature check and updated theDan Fandrich
appropriate test case to use it. For now, this is treated the same as the "SSL" feature because curl doesn't list it separately.
2007-03-09Updated the test harness to check for protocol support before running eachDan Fandrich
test, fixing KNOWN_BUGS #11. Fixed some tests to more accurately specify their required servers and features.
2007-03-08Made a few cleanups.Dan Fandrich
2007-01-23Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich
are not, due mainly to the lack of support for XML character entities (e.g. & => &amp; ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.