From 26afc604acd51b6e79e713ef8707f79b115ee1cb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Apr 2003 17:16:25 +0000 Subject: [PATCH] modified to work with modified code --- tests/data/test103 | 3 ++- tests/data/test104 | 3 ++- tests/data/test106 | 4 +++- tests/data/test108 | 4 +++- tests/data/test125 | 2 +- tests/data/test126 | 3 ++- tests/data/test127 | 4 +++- tests/data/test137 | 3 ++- tests/data/test138 | 3 ++- tests/data/test190 | 2 +- tests/data/test31 | 15 +++++++-------- tests/data/test401 | 2 +- 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 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 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 @@ -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 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