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/test1460 | |
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/test1460')
-rw-r--r-- | tests/data/test1460 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/data/test1460 b/tests/data/test1460 index 1cc13353e..8f6b5f293 100644 --- a/tests/data/test1460 +++ b/tests/data/test1460 @@ -14,7 +14,7 @@ HTTP/1.1 200 swsclose 12345 fooo 54 3 2 1 -Content-Disposition: filename=name1460; charset=funny; option=strange +Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange </data> </reply> @@ -37,9 +37,9 @@ HTTP GET with -Ji and Content-Disposition with existing file CURL_TESTDIR=%PWD/log </setenv> <command option="no-output,no-include"> -http://%HOSTIP:%HTTPPORT/1460 -Ji -O +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Ji -O </command> -<file name="log/name1460"> +<file name="log/name%TESTNUMBER"> initial content </file> </client> @@ -51,7 +51,7 @@ initial content <errorcode> 2 </errorcode> -<file name="log/name1460"> +<file name="log/name%TESTNUMBER"> initial content </file> |