projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2415724
)
verify a part of the PORT line
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 27 Jan 2005 12:59:40 +0000
(12:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 27 Jan 2005 12:59:40 +0000
(12:59 +0000)
tests/data/test103
patch
|
blob
|
history
diff --git
a/tests/data/test103
b/tests/data/test103
index
54d6d91
..
87a640d
100644
(file)
--- 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>
+<strip
part
>
+s/^LPRT.*[\n]//
+s/^EPRT.*[\n]//
+s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
+</strip
part
>
<protocol>
USER anonymous
\r
PASS curl_by_daniel@haxx.se
\r
PWD
\r
CWD a
\r
CWD path
\r
-PORT 127,0,0,1,
246,33
\r
+PORT 127,0,0,1,
\r
TYPE I
\r
SIZE 103
\r
RETR 103
\r