mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43: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
|
|
@ -79,26 +79,26 @@ proxy
|
|||
HTTP proxy CONNECT auth Digest
|
||||
</name>
|
||||
<command>
|
||||
http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
|
||||
http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
CONNECT test.remote.haxx.se.206:8990 HTTP/1.1
|
||||
Host: test.remote.haxx.se.206:8990
|
||||
CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1
|
||||
Host: test.remote.haxx.se.%TESTNUMBER:8990
|
||||
User-Agent: curl/%VERSION
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
CONNECT test.remote.haxx.se.206:8990 HTTP/1.1
|
||||
Host: test.remote.haxx.se.206:8990
|
||||
Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"
|
||||
CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1
|
||||
Host: test.remote.haxx.se.%TESTNUMBER:8990
|
||||
Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.%TESTNUMBER:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"
|
||||
User-Agent: curl/%VERSION
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
GET /path/2060002 HTTP/1.1
|
||||
Host: test.remote.haxx.se.206:8990
|
||||
GET /path/%TESTNUMBER0002 HTTP/1.1
|
||||
Host: test.remote.haxx.se.%TESTNUMBER:8990
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue