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/test650 | |
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/test650')
-rw-r--r-- | tests/data/test650 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/data/test650 b/tests/data/test650 index 19cc10a4a..7045d3626 100644 --- a/tests/data/test650 +++ b/tests/data/test650 @@ -28,7 +28,7 @@ http </server> # tool is what to use instead of 'curl' <tool> -lib650 +lib%TESTNUMBER </tool> <name> @@ -38,9 +38,9 @@ HTTP formpost using form API Some data from stdin </stdin> <command> -http://%HOSTIP:%HTTPPORT/650 log/test650.filedata +http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/test%TESTNUMBER.filedata </command> -<file name="log/test650.filedata"> +<file name="log/test%TESTNUMBER.filedata"> This is data from a file. </file> </client> @@ -56,7 +56,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=-------------------------- # boundary string and since 5 of them are in the body contents, we see # (5*12) == 60 bytes less <protocol> -POST /650 HTTP/1.1
+POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Transfer-Encoding: chunked
@@ -80,13 +80,13 @@ Content-Disposition: form-data; name="multifile" Content-Type: multipart/mixed; boundary=----------------------------
------------------------------
-Content-Disposition: attachment; filename="test650.filedata"
+Content-Disposition: attachment; filename="test%TESTNUMBER.filedata"
Content-Type: application/octet-stream
This is data from a file. ------------------------------
-Content-Disposition: attachment; filename="test650.filedata"
+Content-Disposition: attachment; filename="test%TESTNUMBER.filedata"
Content-Type: text/whatever
@@ -94,7 +94,7 @@ a5 This is data from a file. ------------------------------
-Content-Disposition: attachment; filename="test650.filedata"
+Content-Disposition: attachment; filename="test%TESTNUMBER.filedata"
Content-Type: text/whatever
|