summaryrefslogtreecommitdiff
path: root/tests/data/test147
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-09-17 21:44:57 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-09-17 21:44:57 +0000
commit7f496d8c3fd286f5d9738c8ad13f35912d7a6b7a (patch)
treecb8b94e27900f37561fb973371f6fe613e3d4938 /tests/data/test147
parent048c74f2fad85c24a8d36b06a944884686a99f61 (diff)
downloadgnurl-7f496d8c3fd286f5d9738c8ad13f35912d7a6b7a.tar.gz
gnurl-7f496d8c3fd286f5d9738c8ad13f35912d7a6b7a.tar.bz2
gnurl-7f496d8c3fd286f5d9738c8ad13f35912d7a6b7a.zip
Changed some FTP tests to validate the format of the PORT and EPRT commands
sent by curl, if not the addresses themselves.
Diffstat (limited to 'tests/data/test147')
-rw-r--r--tests/data/test1477
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/data/test147 b/tests/data/test147
index 9d2b27aea..aaa4ca156 100644
--- a/tests/data/test147
+++ b/tests/data/test147
@@ -25,11 +25,10 @@ ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
# Verify data after the test has been "shot"
<verify>
-# strip all kinds of PORT, EPRT and LPRT curl can do
+# Strip all valid kinds of PORT and EPRT that curl can send
<strip>
-^PORT 127,0,0,1,.*
-^EPRT.*
-^LPRT.*
+^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