diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-28 15:05:00 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-28 15:05:00 +0200 |
| commit | b98c148f78de02b1baa865003373136191483d7f (patch) | |
| tree | f53d0194a90e275181f33bb0b717d37768bed217 /ext/pcntl/tests | |
| parent | 0a0ca984f0b45d874937ff47a4f7a77d530e7a10 (diff) | |
| parent | 54dd762f596d4b0ea97d6d10e9d0c96e0f33e76e (diff) | |
| download | php-git-b98c148f78de02b1baa865003373136191483d7f.tar.gz | |
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/pcntl/tests')
| -rw-r--r-- | ext/pcntl/tests/pcntl_unshare_02.phpt | 1 |
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 a046759730..bdcb6120ef 100644 --- a/ext/pcntl/tests/pcntl_unshare_02.phpt +++ b/ext/pcntl/tests/pcntl_unshare_02.phpt @@ -6,6 +6,7 @@ if (!extension_loaded("pcntl")) die("skip"); if (!extension_loaded("posix")) die("skip posix extension not available"); if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available"); if (!defined("CLONE_NEWPID")) die("skip flag unavailable"); +if (getenv("SKIP_ASAN")) die("skip asan chokes on this"); if (posix_getuid() !== 0 && (!defined("CLONE_NEWUSER") || (pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM))) { |
