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/test233 | |
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/test233')
-rw-r--r-- | tests/data/test233 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test233 b/tests/data/test233 index 5e42c715f..d08997586 100644 --- a/tests/data/test233 +++ b/tests/data/test233 @@ -17,7 +17,7 @@ Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose Content-Type: text/html Funny-head: yesyes -Location: http://goto.second.host.now/2330002 +Location: http://goto.second.host.now/%TESTNUMBER0002 Content-Length: 8 Connection: close @@ -40,7 +40,7 @@ Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose Content-Type: text/html Funny-head: yesyes -Location: http://goto.second.host.now/2330002 +Location: http://goto.second.host.now/%TESTNUMBER0002 Content-Length: 8 Connection: close @@ -65,7 +65,7 @@ http HTTP, proxy, site+proxy auth and Location: to new host </name> <command> -http://first.host.it.is/we/want/that/page/233 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location +http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location </command> <features> proxy @@ -76,7 +76,7 @@ proxy # Verify data after the test has been "shot" <verify> <protocol> -GET http://first.host.it.is/we/want/that/page/233 HTTP/1.1
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER HTTP/1.1
Host: first.host.it.is
Proxy-Authorization: Basic dGVzdGluZzp0aGlz
Authorization: Basic aWFtOm15c2VsZg==
@@ -84,7 +84,7 @@ User-Agent: curl/%VERSION Accept: */*
Proxy-Connection: Keep-Alive
-GET http://goto.second.host.now/2330002 HTTP/1.1
+GET http://goto.second.host.now/%TESTNUMBER0002 HTTP/1.1
Host: goto.second.host.now
Proxy-Authorization: Basic dGVzdGluZzp0aGlz
User-Agent: curl/%VERSION
|