diff options
Diffstat (limited to 'tests/data/test1389')
-rw-r--r-- | tests/data/test1389 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/data/test1389 b/tests/data/test1389 index 8387a2395..eb35d39f5 100644 --- a/tests/data/test1389 +++ b/tests/data/test1389 @@ -9,7 +9,7 @@ RETR # Server-side <reply> -# file1389 contents... +# file%TESTNUMBER contents... <data nocheck="yes"> HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
@@ -17,7 +17,7 @@ Server: test-server/fake Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1389; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO </data> @@ -32,10 +32,10 @@ ftp FTP DL, file with C-D inside, using -o fname -J -D file </name> <command option="no-output,no-include"> -ftp://%HOSTIP:%FTPPORT/path/file1389 -o log/download1389 -J -D log/heads1389 +ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D log/heads%TESTNUMBER </command> <postcheck> -perl %SRCDIR/libtest/notexists.pl log/file1389 log/name1389 +perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER </postcheck> </client> @@ -48,24 +48,24 @@ PWD CWD path
EPSV
TYPE I
-SIZE file1389
-RETR file1389
+SIZE file%TESTNUMBER
+RETR file%TESTNUMBER
QUIT
</protocol> -<file1 name="log/download1389"> +<file1 name="log/download%TESTNUMBER"> HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1389; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO </file1> -<file2 name="log/heads1389"> +<file2 name="log/heads%TESTNUMBER"> 220- _ _ ____ _
220- ___| | | | _ \| |
220- / __| | | | |_) | |
@@ -78,14 +78,14 @@ MOOOO 229 Entering Passive Mode (stripped) 200 I modify TYPE as you wanted
213 222
-150 Binary data connection for 1389 () (222 bytes).
+150 Binary data connection for %TESTNUMBER () (222 bytes).
226 File transfer complete
</file2> <stripfile2> s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ </stripfile2> -<file3 name="log/stdout1389"> +<file3 name="log/stdout%TESTNUMBER"> </file3> </verify> |