[php-src] master: Fix false positive test failure
| From: | Dmitry Stogov | Date: | Wed, 10 Apr 2024 06:02:16 +0000 |
| Subject: | [php-src] master: Fix false positive test failure | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-128043@lists.php.net to get a copy of this message | ||
Author: Dmitry Stogov (dstogov)
Date: 2024-04-10T09:01:46+03:00
Commit: https://github.com/php/php-src/commit/a37d661db517162dd745e70a1c03adb22190e19e
Raw diff: https://github.com/php/php-src/commit/a37d661db517162dd745e70a1c03adb22190e19e.diff
Fix false positive test failure
Changed paths:
M ext/pcntl/tests/pcntl_getcpu.phpt
Diff:
diff --git a/ext/pcntl/tests/pcntl_getcpu.phpt b/ext/pcntl/tests/pcntl_getcpu.phpt
index 3275af5b953f..17233061b4e3 100644
--- a/ext/pcntl/tests/pcntl_getcpu.phpt
+++ b/ext/pcntl/tests/pcntl_getcpu.phpt
@@ -7,6 +7,7 @@ pcntl
if (!function_exists("pcntl_getcpu")) die("skip pcntl_getcpu() is not
available");
if (!function_exists("pcntl_setcpuaffinity")) die("skip pcntl_setcpuaffinity() is
not available");
if (getenv('TRAVIS')) die('skip Currently fails on Travis');
+if (getenv('SKIP_REPEAT')) die("skip Not repeatable");
?>
--FILE--
<?php