summaryrefslogtreecommitdiff
path: root/ext/ftp/tests/005.phpt
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-11-24 15:47:45 +0000
committerNuno Lopes <nlopess@php.net>2006-11-24 15:47:45 +0000
commitd64b17543cfa5e171ca493eb3581eea0acd42dba (patch)
treed12e15b9bd1f7cd9df672ab437a016908f6a83fd /ext/ftp/tests/005.phpt
parent050e32ed65e3f479e6af88cf5ed9f88c158af0dd (diff)
downloadphp-git-d64b17543cfa5e171ca493eb3581eea0acd42dba.tar.gz
fix tests after Tony's commit and add a test for the bug he fixed
Diffstat (limited to 'ext/ftp/tests/005.phpt')
-rw-r--r--ext/ftp/tests/005.phpt22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/ftp/tests/005.phpt b/ext/ftp/tests/005.phpt
index 4291c1c1bd..bbc11e87ae 100644
--- a/ext/ftp/tests/005.phpt
+++ b/ext/ftp/tests/005.phpt
@@ -53,34 +53,34 @@ bool(false)
Warning: ftp_exec(): Command not implemented (5). in %s005.php on line 15
bool(false)
-Warning: ftp_fget(): Command not implemented (6). in %s005.php on line 16
+Warning: ftp_fget(): Mode must be FTP_ASCII or FTP_BINARY in %s005.php on line 16
bool(false)
-Warning: ftp_fput(): Command not implemented (7). in %s005.php on line 17
+Warning: ftp_fput(): Mode must be FTP_ASCII or FTP_BINARY in %s005.php on line 17
bool(false)
-Warning: ftp_get(): Command not implemented (8). in %s005.php on line 18
+Warning: ftp_get(): Mode must be FTP_ASCII or FTP_BINARY in %s005.php on line 18
bool(false)
int(-1)
-Warning: ftp_mkdir(): Command not implemented (10). in %s005.php on line 20
+Warning: ftp_mkdir(): Command not implemented (7). in %s005.php on line 20
bool(false)
Warning: ftp_nb_continue(): no nbronous transfer to continue. in %s005.php on line 21
int(0)
-Warning: ftp_nb_fget(): Command not implemented (11). in %s005.php on line 22
-int(0)
+Warning: ftp_nb_fget(): Mode must be FTP_ASCII or FTP_BINARY in %s005.php on line 22
+bool(false)
-Warning: ftp_nb_fput(): Command not implemented (12). in %s005.php on line 23
-int(0)
+Warning: ftp_nb_fput(): Mode must be FTP_ASCII or FTP_BINARY in %s005.php on line 23
+bool(false)
-Warning: ftp_systype(): Command not implemented (13). in %s005.php on line 24
+Warning: ftp_systype(): Command not implemented (8). in %s005.php on line 24
bool(false)
-Warning: ftp_pwd(): Command not implemented (14). in %s005.php on line 25
+Warning: ftp_pwd(): Command not implemented (9). in %s005.php on line 25
bool(false)
int(-1)
-Warning: ftp_rmdir(): Command not implemented (16). in %s005.php on line 27
+Warning: ftp_rmdir(): Command not implemented (11). in %s005.php on line 27
bool(false)