Annotation of embedaddon/php/ext/posix/tests/posix_ctermid_error.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test function posix_ctermid() by calling it more than or less than its expected arguments
3: --SKIPIF--
4: <?php
5: if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
6: ?>
7: --CREDITS--
8: Marco Fabbri mrfabbri@gmail.com
9: Francesco Fullone ff@ideato.it
10: #PHPTestFest Cesena Italia on 2009-06-20
11: --FILE--
12: <?php
13:
14: var_dump( posix_ctermid( 'foo' ) );
15:
16: ?>
17: --EXPECTF--
18: Warning: posix_ctermid() expects exactly 0 parameters, 1 given in %s on line %d
19: NULL
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>