Annotation of embedaddon/php/ext/posix/tests/posix_errno_basic.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Test function posix_errno() by calling it with its expected arguments
! 3: --CREDITS--
! 4: Morten Amundsen mor10am@gmail.com
! 5: Francesco Fullone ff@ideato.it
! 6: #PHPTestFest Cesena Italia on 2009-06-20
! 7: --SKIPIF--
! 8: <?php
! 9: if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
! 10: ?>
! 11: --FILE--
! 12: <?php
! 13:
! 14: echo "*** Test by calling method or function with its expected arguments ***\n";
! 15:
! 16: // test without any error
! 17: var_dump(posix_errno());
! 18:
! 19: ?>
! 20: --EXPECTF--
! 21: *** Test by calling method or function with its expected arguments ***
! 22: int(0)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>