Annotation of embedaddon/php/ext/ftp/tests/bug7216.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #7216 (ftp_mkdir returns nothing)
! 3: --SKIPIF--
! 4: <?php
! 5: require 'skipif.inc';
! 6: ?>
! 7: --FILE--
! 8: <?php
! 9: $bug7216=true;
! 10: require 'server.inc';
! 11:
! 12: $ftp = ftp_connect('127.0.0.1', $port);
! 13: if (!$ftp) die("Couldn't connect to the server");
! 14:
! 15: var_dump(ftp_login($ftp, 'anonymous', 'IEUser@'));
! 16: var_dump(ftp_mkdir($ftp, 'CVS'));
! 17:
! 18: ?>
! 19: --EXPECT--
! 20: bool(true)
! 21: string(3) "CVS"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>