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

23 lines
398 B
PHP

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