summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests/pcntl_unshare_02.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcntl/tests/pcntl_unshare_02.phpt')
-rw-r--r--ext/pcntl/tests/pcntl_unshare_02.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcntl/tests/pcntl_unshare_02.phpt b/ext/pcntl/tests/pcntl_unshare_02.phpt
index fdf07bc81c..3e90a3920c 100644
--- a/ext/pcntl/tests/pcntl_unshare_02.phpt
+++ b/ext/pcntl/tests/pcntl_unshare_02.phpt
@@ -15,6 +15,7 @@ if (posix_getuid() !== 0 &&
if (@pcntl_unshare(CLONE_NEWPID) == false && pcntl_get_last_error() == PCNTL_EPERM) {
die("skip Insufficient privileges for CLONE_NEWPID");
}
+if (getenv("SKIP_REPEAT")) die("skip cannot be repeated");
?>
--FILE--
<?php