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

20 lines
418 B
Plaintext
Raw Normal View History

--TEST--
posix_getrlimit(): Basic tests
--SKIPIF--
<?php
if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
if (!function_exists('posix_getrlimit')) die('skip posix_getrlimit() not found');
?>
--FILE--
<?php
echo "Basic test of POSIX posix_getrlimit function\n";
var_dump(posix_getrlimit());
?>
===DONE====
--EXPECTF--
Basic test of POSIX posix_getrlimit function
array(%d) {
%a
}
===DONE====