From a3469146d49027fe0260c7d3c642c4b37a5e032f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 24 Oct 2019 12:19:24 +0200 Subject: [PATCH] Use posix_getuid() to check for root in pcntl_setpriority() test Using SUDO_USER doesn't seem to work on Travis ARM CI -- I guess that sudo might be in use without the target being root. --- ext/pcntl/tests/pcntl_setpriority_basic.phpt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ext/pcntl/tests/pcntl_setpriority_basic.phpt b/ext/pcntl/tests/pcntl_setpriority_basic.phpt index 1f03fb2dc9..235b0ec9ce 100644 --- a/ext/pcntl/tests/pcntl_setpriority_basic.phpt +++ b/ext/pcntl/tests/pcntl_setpriority_basic.phpt @@ -5,14 +5,14 @@ Er Galvão Abbott galvao@galvao.eti.br # TestFest 2017 PHPRS PHP UG 2017-10-31 --SKIPIF-- --FILE-- -- 2.40.0