mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
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
This commit is contained in:
parent
453ad35d15
commit
e2b4df7b5e
1292 changed files with 4386 additions and 4389 deletions
|
|
@ -50,7 +50,7 @@ http-proxy
|
|||
HTTP over proxy-tunnel with site authentication
|
||||
</name>
|
||||
<command>
|
||||
http://test.83:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self'
|
||||
http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self'
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
@ -61,15 +61,15 @@ proxy
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<proxy>
|
||||
CONNECT test.83:%HTTPPORT HTTP/1.1
|
||||
Host: test.83:%HTTPPORT
|
||||
CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.1
|
||||
Host: test.%TESTNUMBER:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
</proxy>
|
||||
<protocol>
|
||||
GET /we/want/that/page/83 HTTP/1.1
|
||||
Host: test.83:%HTTPPORT
|
||||
GET /we/want/that/page/%TESTNUMBER HTTP/1.1
|
||||
Host: test.%TESTNUMBER:%HTTPPORT
|
||||
Authorization: Basic aWFtOm15OjtzZWxm
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue