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/test1566 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/data/test1566') diff --git a/tests/data/test1566 b/tests/data/test1566 index 54226d010..b954c2aea 100644 --- a/tests/data/test1566 +++ b/tests/data/test1566 @@ -32,12 +32,12 @@ http --etag-compare that gets a 304 back shouldn't overwrite the file -http://%HOSTIP:%HTTPPORT/1566 -o log/output1566 --etag-compare log/etag1566 +http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/output%TESTNUMBER --etag-compare log/etag%TESTNUMBER - + "123456" - + downloaded already @@ -47,7 +47,7 @@ downloaded already # Verify data after the test has been "shot" -GET /1566 HTTP/1.1 +GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* @@ -56,7 +56,7 @@ If-None-Match: "123456" # verify that the target file is untouched - + downloaded already -- cgit v1.2.1