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/test663 | |
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/test663')
-rw-r--r-- | tests/data/test663 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test663 b/tests/data/test663 index e654450e4..72692585f 100644 --- a/tests/data/test663 +++ b/tests/data/test663 @@ -16,7 +16,7 @@ followlocation <reply> <data> HTTP/1.1 302 OK
-Location: http://example.net/there/it/is/../../tes t case=/6630002? yes no
+Location: http://example.net/there/it/is/../../tes t case=/%TESTNUMBER0002? yes no
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 0
@@ -31,7 +31,7 @@ body </data2> <datacheck> HTTP/1.1 302 OK
-Location: http://example.net/there/it/is/../../tes t case=/6630002? yes no
+Location: http://example.net/there/it/is/../../tes t case=/%TESTNUMBER0002? yes no
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 0
@@ -54,7 +54,7 @@ http HTTP redirect with dotdots and whitespaces in absolute Location: URL </name> <command> -http://example.com/please/../gimme/663?foobar#hello -L -x http://%HOSTIP:%HTTPPORT +http://example.com/please/../gimme/%TESTNUMBER?foobar#hello -L -x http://%HOSTIP:%HTTPPORT </command> <features> proxy @@ -65,13 +65,13 @@ proxy # Verify data after the test has been "shot" <verify> <protocol> -GET http://example.com/gimme/663?foobar HTTP/1.1
+GET http://example.com/gimme/%TESTNUMBER?foobar HTTP/1.1
Host: example.com
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive
-GET http://example.net/there/tes%20t%20case=/6630002?+yes+no HTTP/1.1
+GET http://example.net/there/tes%20t%20case=/%TESTNUMBER0002?+yes+no HTTP/1.1
Host: example.net
User-Agent: curl/%VERSION
Accept: */*
|