diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-12 17:38:26 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-19 15:57:21 +0100 |
commit | e2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51 (patch) | |
tree | 3d15e2bf1fa76e0d951d64edeccca6b70636e0ed /tests/data/test184 | |
parent | 453ad35d15adf06bd1a141fb026214bc599b067f (diff) | |
download | curl-e2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51.tar.gz |
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
Diffstat (limited to 'tests/data/test184')
-rw-r--r-- | tests/data/test184 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test184 b/tests/data/test184 index d6c396b02..9c795a288 100644 --- a/tests/data/test184 +++ b/tests/data/test184 @@ -14,7 +14,7 @@ followlocation HTTP/1.1 301 OK swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 4
-Location: http://yet.another.host/184 +Location: http://yet.another.host/%TESTNUMBER moo </data> @@ -29,7 +29,7 @@ moo HTTP/1.1 301 OK swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 4
-Location: http://yet.another.host/184 +Location: http://yet.another.host/%TESTNUMBER HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
@@ -48,7 +48,7 @@ http HTTP replace Host: when following Location: to new host </name> <command> -http://deathstar.another.galaxy/184 -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT +http://deathstar.another.galaxy/%TESTNUMBER -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT </command> <features> proxy @@ -58,13 +58,13 @@ proxy # Verify data after the test has been "shot" <verify> <protocol> -GET http://deathstar.another.galaxy/184 HTTP/1.1
+GET http://deathstar.another.galaxy/%TESTNUMBER HTTP/1.1
Host: another.visitor.stay.a.while.stay.foreeeeeever
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive
-GET http://yet.another.host/184 HTTP/1.1
+GET http://yet.another.host/%TESTNUMBER HTTP/1.1
Host: yet.another.host
User-Agent: curl/%VERSION
Accept: */*
|