php-src/ext/posix/tests/posix_getsid_basic.phpt

22 lines
391 B
PHP

--TEST--
Test posix_getsid() function : basic functionality
--SKIPIF--
<?php
if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
?>
--FILE--
<?php
echo "Basic test of posix_getsid function\n";
$pid = posix_getpid();
$sid = posix_getsid($pid);
var_dump($sid);
?>
===DONE====
--EXPECTF--
Basic test of posix_getsid function
int(%d)
===DONE====