1
0
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:
Ilija Tovilo
2022-10-28 10:47:09 +02:00
parent c3b9b0f9a7
commit edd6fd7cad

View File

@@ -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');