mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
[skip ci] Mark posix_getrlimit test as un-repeatable
The test assumes that the hard-limit is unlimited at script entrance which doesn't hold on the second run.
This commit is contained in:
@@ -4,6 +4,7 @@ posix_getrlimit() for single resource
|
||||
posix
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (getenv('SKIP_REPEAT')) die('skip Not repeatable');
|
||||
if (!function_exists('posix_getrlimit')) die('skip posix_getrlimit() not found');
|
||||
if (!function_exists('posix_setrlimit') || !posix_setrlimit(POSIX_RLIMIT_CORE, 2048, -1)) {
|
||||
die('skip Failed to set POSIX_RLIMIT_CORE');
|
||||
|
||||
Reference in New Issue
Block a user