]> granicus.if.org Git - php/commit
Use posix_getuid() to check for root in pcntl_setpriority() test
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 24 Oct 2019 10:19:24 +0000 (12:19 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 24 Oct 2019 12:46:25 +0000 (14:46 +0200)
commita3469146d49027fe0260c7d3c642c4b37a5e032f
tree158e3800946d0cc33c1277e3538266e724b4f4d7
parent69b608cf13f24f7859e564254263fa789e722211
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