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/test1935 | |
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/test1935')
-rw-r--r-- | tests/data/test1935 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/data/test1935 b/tests/data/test1935 index 3744a32d5..b27f0cdbd 100644 --- a/tests/data/test1935 +++ b/tests/data/test1935 @@ -14,7 +14,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Type: text/html Content-Length: 0 -Location: /19350002 +Location: /%TESTNUMBER0002 </data> <data2> @@ -43,11 +43,11 @@ crypto HTTP AWS_SIGV4 with two providers and region </name> <tool> -lib1935 +lib%TESTNUMBER </tool> <command> -http://%HOSTIP:%HTTPPORT/1935/testapi/test +http://%HOSTIP:%HTTPPORT/%TESTNUMBER/testapi/test </command> </client> @@ -59,7 +59,7 @@ http://%HOSTIP:%HTTPPORT/1935/testapi/test ^Accept:.* </strip> <protocol> -GET /1935/testapi/test HTTP/1.1
+GET /%TESTNUMBER/testapi/test HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Authorization: XXX4-HMAC-SHA256 Credential=xxx/19700101/rrr/127/xxx4_request, SignedHeaders=content-type;host;x-yyy-date, Signature=240750deb9263d4c8ece71c016f3919b56e518249390ef075740f94ef8df846f
X-Yyy-Date: 19700101T000000Z
|