From e2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Mar 2021 17:38:26 +0100 Subject: 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 --- tests/data/test1460 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/data/test1460') 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 @@ -37,9 +37,9 @@ HTTP GET with -Ji and Content-Disposition with existing file CURL_TESTDIR=%PWD/log -http://%HOSTIP:%HTTPPORT/1460 -Ji -O +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Ji -O - + initial content @@ -51,7 +51,7 @@ initial content 2 - + initial content -- cgit v1.2.1