Skip to content

Commit edd6fd7

Browse files
committed
[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.
1 parent c3b9b0f commit edd6fd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/posix/tests/posix_getrlimit_single_resource.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ posix_getrlimit() for single resource
44
posix
55
--SKIPIF--
66
<?php
7+
if (getenv('SKIP_REPEAT')) die('skip Not repeatable');
78
if (!function_exists('posix_getrlimit')) die('skip posix_getrlimit() not found');
89
if (!function_exists('posix_setrlimit') || !posix_setrlimit(POSIX_RLIMIT_CORE, 2048, -1)) {
910
die('skip Failed to set POSIX_RLIMIT_CORE');

0 commit comments

Comments
 (0)