verify a part of the PORT line

This commit is contained in:
Daniel Stenberg 2005-01-27 12:59:40 +00:00
parent 2415724d5f
commit ade1e79b37
1 changed files with 6 additions and 6 deletions

View File

@ -25,18 +25,18 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip> <strippart>
^PORT .* s/^LPRT.*[\n]//
^EPRT.* s/^EPRT.*[\n]//
^LPRT.* s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
</strip> </strippart>
<protocol> <protocol>
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD PWD
CWD a CWD a
CWD path CWD path
PORT 127,0,0,1,246,33 PORT 127,0,0,1,
TYPE I TYPE I
SIZE 103 SIZE 103
RETR 103 RETR 103