Annotation of embedaddon/php/ext/posix/tests/posix_getsid_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test posix_getsid() function : basic functionality
3: --SKIPIF--
4: <?php
5: if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
6: ?>
7: --FILE--
8: <?php
9: echo "Basic test of posix_getsid function\n";
10:
11: $pid = posix_getpid();
12: $sid = posix_getsid($pid);
13:
14: var_dump($sid);
15:
16: ?>
17: ===DONE====
18: --EXPECTF--
19: Basic test of posix_getsid function
20: int(%d)
21: ===DONE====
22:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>