diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-27 12:59:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-27 12:59:40 +0000 |
commit | ade1e79b376dd614c883682bd2e4b296bd596aa1 (patch) | |
tree | 015ed937b4a8a05c5d06a1f0270daeeed917e5b9 /tests | |
parent | 2415724d5fd3143b87c2bbafdc1f780c5a402dcc (diff) |
verify a part of the PORT line
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test103 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/data/test103 b/tests/data/test103 index 54d6d91c7..87a640d20 100644 --- a/tests/data/test103 +++ b/tests/data/test103 @@ -25,18 +25,18 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P - # Verify data after the test has been "shot" <verify> -<strip> -^PORT .* -^EPRT.* -^LPRT.* -</strip> +<strippart> +s/^LPRT.*[\n]// +s/^EPRT.*[\n]// +s/^(PORT 127,0,0,1,)([0-9,]+)/$1/ +</strippart> <protocol> USER anonymous
PASS curl_by_daniel@haxx.se
PWD
CWD a
CWD path
-PORT 127,0,0,1,246,33
+PORT 127,0,0,1,
TYPE I
SIZE 103
RETR 103
|