aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-30 17:16:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-30 17:16:25 +0000
commit26afc604acd51b6e79e713ef8707f79b115ee1cb (patch)
tree6ff120fc64f074a11cf4442af0267c37d1749aec /tests
parent9aefcada1904333eb2ca086ac523a8d9e3ea91cb (diff)
modified to work with modified code
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test1033
-rw-r--r--tests/data/test1043
-rw-r--r--tests/data/test1064
-rw-r--r--tests/data/test1084
-rw-r--r--tests/data/test1252
-rw-r--r--tests/data/test1263
-rw-r--r--tests/data/test1274
-rw-r--r--tests/data/test1373
-rw-r--r--tests/data/test1383
-rw-r--r--tests/data/test1902
-rw-r--r--tests/data/test3115
-rw-r--r--tests/data/test4012
12 files changed, 29 insertions, 19 deletions
diff --git a/tests/data/test103 b/tests/data/test103
index 224e32a9e..d362feaee 100644
--- a/tests/data/test103
+++ b/tests/data/test103
@@ -31,7 +31,8 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD a/path
+CWD a
+CWD path
PORT 127,0,0,1,246,33
TYPE I
SIZE 103
diff --git a/tests/data/test104 b/tests/data/test104
index b4cf3e145..ef6b9fc5d 100644
--- a/tests/data/test104
+++ b/tests/data/test104
@@ -21,7 +21,8 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 --head
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD a/path
+CWD a
+CWD path
MDTM 103
TYPE I
SIZE 103
diff --git a/tests/data/test106 b/tests/data/test106
index fdf6cb019..4f8a3b317 100644
--- a/tests/data/test106
+++ b/tests/data/test106
@@ -26,7 +26,9 @@ FTP GET with type=A style ASCII URL using %20 codes
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD /path with spaces/and things2
+CWD
+CWD path with spaces
+CWD and things2
EPSV
TYPE A
SIZE 106
diff --git a/tests/data/test108 b/tests/data/test108
index 3f61acd00..eadc076f5 100644
--- a/tests/data/test108
+++ b/tests/data/test108
@@ -29,7 +29,9 @@ Moooooooooooo
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD CWD/STOR/RETR
+CWD CWD
+CWD STOR
+CWD RETR
PORT 127,0,0,1,5,109
TYPE I
STOR 108
diff --git a/tests/data/test125 b/tests/data/test125
index 7581d6e8e..6fa05add5 100644
--- a/tests/data/test125
+++ b/tests/data/test125
@@ -24,6 +24,6 @@ REPLY CWD 314 bluah you f00l!
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD path/to/file
+CWD path
</protocol>
</verify>
diff --git a/tests/data/test126 b/tests/data/test126
index 55abb5af6..060eefc50 100644
--- a/tests/data/test126
+++ b/tests/data/test126
@@ -24,7 +24,8 @@ RETRWEIRDO
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD blalbla/lululul
+CWD blalbla
+CWD lululul
EPSV
TYPE I
SIZE 126
diff --git a/tests/data/test127 b/tests/data/test127
index 890af2f6f..34618308d 100644
--- a/tests/data/test127
+++ b/tests/data/test127
@@ -21,7 +21,9 @@ ftp://%HOSTIP:%FTPPORT/path/to/file/127 --disable-epsv
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD path/to/file
+CWD path
+CWD to
+CWD file
PASV
TYPE I
SIZE 127
diff --git a/tests/data/test137 b/tests/data/test137
index aa6a846b9..3138f1773 100644
--- a/tests/data/test137
+++ b/tests/data/test137
@@ -24,7 +24,8 @@ RETRNOSIZE
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD blalbla/lululul
+CWD blalbla
+CWD lululul
EPSV
TYPE I
SIZE 137
diff --git a/tests/data/test138 b/tests/data/test138
index d3479e661..0d8bb90ab 100644
--- a/tests/data/test138
+++ b/tests/data/test138
@@ -27,7 +27,8 @@ RETRNOSIZE
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD blalbla/lululul
+CWD blalbla
+CWD lululul
EPSV
TYPE I
SIZE 138
diff --git a/tests/data/test190 b/tests/data/test190
index 8b83521f8..947fda9ad 100644
--- a/tests/data/test190
+++ b/tests/data/test190
@@ -25,6 +25,6 @@ DELAY CWD 15
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD path/to/file
+CWD path
</protocol>
</verify>
diff --git a/tests/data/test31 b/tests/data/test31
index 88a49751e..8ff61a0df 100644
--- a/tests/data/test31
+++ b/tests/data/test31
@@ -6,14 +6,16 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
-Set-Cookie: foobar=name; domain=127.0.0.1; path=/ ; secure
+Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
Set-Cookie: partmatch=present; domain=127.0.0.1 ; path=/;
Set-Cookie:eat=this; domain=moo.foo.moo;
Set-Cookie: eat=this-too; domain=.foo.moo;
Set-Cookie: nodomainnovalue
Set-Cookie: nodomain=value; expires=Tue Feb 1 11:56:27 MET 2014
-Set-Cookie: nodomainnovalue; domain=reallysilly
+Set-Cookie: novalue; domain=reallysilly
+Set-Cookie: test=yes; domain=foo.com; expires=Tue Feb 1 11:56:27 MET 2007
+Set-Cookie: test2=yes; domain=se; expires=Tue Feb 1 11:56:27 MET 2007
boo
</data>
@@ -46,11 +48,8 @@ Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
# http://www.netscape.com/newsref/std/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
-127.0.0.1 FALSE / TRUE 0 foobar name
-127.0.0.1 FALSE /silly/ FALSE 0 ismatch this
-127.0.0.1 FALSE / FALSE 0 partmatch present
-moo.foo.moo FALSE / FALSE 0 eat this
-.foo.moo TRUE / FALSE 0 eat this-too
-127.0.0.1 FALSE / FALSE 1391252187 nodomain value
+.127.0.0.1 TRUE /silly/ FALSE 0 ismatch this
+.127.0.0.1 TRUE / FALSE 0 partmatch present
+127.0.0.1 FALSE /we/want/ FALSE 1391252187 nodomain value
</file>
</verify>
diff --git a/tests/data/test401 b/tests/data/test401
index c23420ddf..a733eb2b3 100644
--- a/tests/data/test401
+++ b/tests/data/test401
@@ -25,6 +25,6 @@ DELAY CWD 15
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
-CWD path/to/file
+CWD path
</protocol>
</verify>