Annotation of embedaddon/php/ext/posix/tests/posix_getgrnam_basic.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: posix_getgrnam(): Basic tests
! 3: --SKIPIF--
! 4: <?php
! 5: if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
! 6: if (!function_exists('posix_getgrnam')) die('skip posix_getgrnam() not found');
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: echo "Basic test of POSIX posix_getgrnam function\n";
! 11:
! 12: var_dump(posix_getgrnam(NULL));
! 13: var_dump(posix_getgrnam(1));
! 14: var_dump(posix_getgrnam(''));
! 15:
! 16: ?>
! 17: ===DONE===
! 18: --EXPECT--
! 19: Basic test of POSIX posix_getgrnam function
! 20: bool(false)
! 21: bool(false)
! 22: bool(false)
! 23: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>