Daniel Stenberg
e2b4df7b5e
tests: use %TESTNUMBER instead of fixed number
...
This makes the tests easier to copy and relocate to other test numbers
without having to update content.
Closes #6738
2021-03-19 15:57:21 +01:00
Fabian Keil
124198631b
tests: fixup several tests
...
missing CRs and modified %hostip
lib556/test556: use a real HTTP version to make test reuse more convenient
make sure the weekday in Date headers matches the date
test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d)
Gets the test working with external proxies like Privoxy again.
Closes #6463
2021-02-09 00:28:19 +01:00
Daniel Stenberg
e6b21d422e
runtests: provide curl's version string as %VERSION for tests
...
... so that we can check HTTP requests for User-Agent: curl/%VERSION
Update 600+ test cases accordingly.
Closes #6037
2020-10-02 22:54:23 +02:00
Marc Hoersken
89c29aa70f
HTTP tests: use CRLF as header seperator according to RFC 2616
...
Changes LF to CRLF and disables automatic output conversion.
2014-02-14 20:12:27 +01:00
Yang Tse
b0dfbf305a
tests: specify 'text' mode for some output files in verify section
2013-03-18 20:45:35 +01:00
Yang Tse
c29d1f4e3a
tests: fix test definitions # 1370 and 1371
...
-J without -O shall not honor C-D filename
2012-06-09 05:49:48 +02:00
Yang Tse
c41d959ee6
tests 1364 to 1393: several -o filename -J -i -D combinations for HTTP and FTP
2012-06-07 17:45:37 +02:00