aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test103
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test103')
-rw-r--r--tests/data/test10312
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/data/test103 b/tests/data/test103
index 27d4cb0ef..15712f5da 100644
--- a/tests/data/test103
+++ b/tests/data/test103
@@ -33,18 +33,18 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
# Verify data after the test has been "shot"
<verify>
-<strippart>
-s/^LPRT.*[\r\n]*//
-s/^EPRT.*[\r\n]*//
-s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
-</strippart>
+# Strip all valid kinds of PORT and EPRT that curl can send
+<strip>
+^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
+^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
+</strip>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
CWD a
CWD path
-PORT 127,0,0,1,
+PORT 127,0,0,1,0,0
TYPE I
SIZE 103
RETR 103