From edaf385ae74c97cc3b21d31e50e7998ed1dcf385 Mon Sep 17 00:00:00 2001 From: Zoe Slattery Date: Wed, 31 Dec 2008 20:04:55 +0000 Subject: [PATCH] new test from Nat Mcugh --- ext/ftp/tests/ftp_fget_basic.phpt | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ext/ftp/tests/ftp_fget_basic.phpt diff --git a/ext/ftp/tests/ftp_fget_basic.phpt b/ext/ftp/tests/ftp_fget_basic.phpt new file mode 100644 index 0000000000..b81c7263e5 --- /dev/null +++ b/ext/ftp/tests/ftp_fget_basic.phpt @@ -0,0 +1,45 @@ +--TEST-- +FTP ftp_fget file for both binary and ASCII transfer modes +--XFAIL-- +Mising implementation in PHP6 +--CREDITS-- +Nathaniel McHugh +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) +bool(true) +For sale: baby shoes, never worn. +bool(true) +string(21) "BINARYFoo%00Bar%0D%0A" + +Warning: ftp_fget(): a warning: No such file or directory in %sftp_fget_basic.php on line %d -- 2.40.0