summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests/pcntl_unshare_01.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcntl/tests/pcntl_unshare_01.phpt')
-rw-r--r--ext/pcntl/tests/pcntl_unshare_01.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcntl/tests/pcntl_unshare_01.phpt b/ext/pcntl/tests/pcntl_unshare_01.phpt
index fcbf112e4d..6eb5a20bdd 100644
--- a/ext/pcntl/tests/pcntl_unshare_01.phpt
+++ b/ext/pcntl/tests/pcntl_unshare_01.phpt
@@ -9,6 +9,7 @@ if (!defined("CLONE_NEWUSER")) die("skip flag unavailable");
if (@pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM) {
die("skip Insufficient privileges to use CLONE_NEWUSER");
}
+if (getenv("SKIP_REPEAT")) die("skip cannot be repeated");
?>
--FILE--
<?php