We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638e182 commit 6d0ea70Copy full SHA for 6d0ea70
ext/pcntl/tests/pcntl_unshare_03.phpt
@@ -9,10 +9,13 @@ if (!defined("CLONE_NEWNET")) die("skip flag unavailable");
9
if (posix_getuid() !== 0 &&
10
(!defined("CLONE_NEWUSER") ||
11
(pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM))) {
12
- die("skip Insufficient previleges to run test");
+ die("skip Insufficient privileges for CLONE_NEWUSER");
13
+}
14
+if (@pcntl_unshare(CLONE_NEWNET) == false && pcntl_get_last_error() == PCNTL_EPERM) {
15
+ die("skip Insufficient privileges for CLONE_NEWPID");
16
}
17
if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
-
18
+?>
19
--FILE--
20
<?php
21
0 commit comments