X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fdata%2Ftest1390;h=b041e054995cd9906a031f63ff7858f314658d40;hb=cfd75dcdb18d0a4291f48020211c65507a97d9eb;hp=0668cf7b097df9d542c4e21e8d07134dd96906fb;hpb=24b9957402f17c422eeeb3386bf049feeb342e78;p=platform%2Fupstream%2Fcurl.git diff --git a/tests/data/test1390 b/tests/data/test1390 index 0668cf7..b041e05 100644 --- a/tests/data/test1390 +++ b/tests/data/test1390 @@ -11,14 +11,14 @@ RETR # file1390 contents... -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Server: test-server/fake -Content-Length: 6 -Connection: close -Content-Type: text/html -Content-Disposition: filename=name1390; charset=funny; option=strange - +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name1390; charset=funny; option=strange + MOOOO @@ -42,44 +42,44 @@ perl %SRCDIR/libtest/notexists.pl log/file1390 log/name1390 # Verify data after the test has been "shot" -USER anonymous -PASS ftp@example.com -PWD -CWD path -EPSV -TYPE I -SIZE file1390 -RETR file1390 -QUIT +USER anonymous +PASS ftp@example.com +PWD +CWD path +EPSV +TYPE I +SIZE file1390 +RETR file1390 +QUIT -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Server: test-server/fake -Content-Length: 6 -Connection: close -Content-Type: text/html -Content-Disposition: filename=name1390; charset=funny; option=strange - +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: filename=name1390; charset=funny; option=strange + MOOOO -220- _ _ ____ _ -220- ___| | | | _ \| | -220- / __| | | | |_) | | -220- | (__| |_| | _ {| |___ -220 \___|\___/|_| \_\_____| -331 We are happy you popped in! -230 Welcome you silly person -257 "/" is current directory -250 CWD command successful. +220- _ _ ____ _ +220- ___| | | | _ \| | +220- / __| | | | |_) | | +220- | (__| |_| | _ {| |___ +220 \___|\___/|_| \_\_____| +331 We are happy you popped in! +230 Welcome you silly person +257 "/" is current directory +250 CWD command successful. 229 Entering Passive Mode (stripped) -200 I modify TYPE as you wanted -213 222 -150 Binary data connection for 1390 () (222 bytes). -226 File transfer complete +200 I modify TYPE as you wanted +213 222 +150 Binary data connection for 1390 () (222 bytes). +226 File transfer complete s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/