diff options
Diffstat (limited to 'ext/posix/tests/posix_getppid_basic.phpt')
-rw-r--r-- | ext/posix/tests/posix_getppid_basic.phpt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_getppid_basic.phpt b/ext/posix/tests/posix_getppid_basic.phpt new file mode 100644 index 0000000..2da591c --- /dev/null +++ b/ext/posix/tests/posix_getppid_basic.phpt @@ -0,0 +1,21 @@ +--TEST-- +Test posix_getppid() function : basic functionality +--SKIPIF-- +<?php + if (!extension_loaded('posix')) die('skip - POSIX extension not loaded'); +?> +--FILE-- +<?php + echo "Basic test of POSIX getppid function\n"; + + $ppid = posix_getppid(); + + var_dump($ppid); + +?> +===DONE==== +--EXPECTF-- +Basic test of POSIX getppid function +int(%d) +===DONE==== +
\ No newline at end of file |