summaryrefslogtreecommitdiff
path: root/tests/data/test1352
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-12 17:38:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-03-19 15:57:21 +0100
commite2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51 (patch)
tree3d15e2bf1fa76e0d951d64edeccca6b70636e0ed /tests/data/test1352
parent453ad35d15adf06bd1a141fb026214bc599b067f (diff)
downloadcurl-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/test1352')
-rw-r--r--tests/data/test135212
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/data/test1352 b/tests/data/test1352
index cf690af67..3af12a801 100644
--- a/tests/data/test1352
+++ b/tests/data/test1352
@@ -32,7 +32,7 @@ FTP download, file without C-D inside, using -O -J -D stdout
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1352 -O -J -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D -
</command>
</client>
@@ -45,19 +45,19 @@ PWD
CWD path
EPSV
TYPE I
-SIZE file1352
-RETR file1352
+SIZE file%TESTNUMBER
+RETR file%TESTNUMBER
QUIT
</protocol>
-<file1 name="log/file1352">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
-<file2 name="log/stdout1352">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _
220- ___| | | | _ \| |
220- / __| | | | |_) | |
@@ -70,7 +70,7 @@ mooo
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted
213 10
-150 Binary data connection for 1352 () (10 bytes).
+150 Binary data connection for %TESTNUMBER () (10 bytes).
226 File transfer complete
</file2>
<stripfile2>