Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/test-alpine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ runs:
set -x
export SKIP_IO_CAPTURE_TESTS=1
export STACK_LIMIT_DEFAULTS_CHECK=1
export TEST_NON_ROOT_USER=nobody
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.jit_buffer_size=64M \
Expand Down
2 changes: 2 additions & 0 deletions ext/opcache/tests/gh10405.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ opcache.optimization_level=-1
opcache.preload={PWD}/preload_user.inc
opcache.preload_user={ENV:TEST_NON_ROOT_USER}
opcache.log_verbosity_level=2
--ENV--
ASAN_OPTIONS=detect_leaks=0
--EXTENSIONS--
opcache
posix
Expand Down
2 changes: 2 additions & 0 deletions ext/opcache/tests/preload_user_001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ opcache.optimization_level=-1
opcache.preload={PWD}/preload.inc
opcache.preload_user=php
opcache.log_verbosity_level=2
--ENV--
ASAN_OPTIONS=detect_leaks=0
--EXTENSIONS--
opcache
posix
Expand Down
2 changes: 2 additions & 0 deletions ext/opcache/tests/preload_user_002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ opcache.optimization_level=-1
opcache.preload={PWD}/preload_user.inc
opcache.preload_user={ENV:TEST_NON_ROOT_USER}
opcache.log_verbosity_level=2
--ENV--
ASAN_OPTIONS=detect_leaks=0
--EXTENSIONS--
opcache
posix
Expand Down
2 changes: 2 additions & 0 deletions ext/opcache/tests/preload_user_003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ opcache.optimization_level=-1
opcache.preload={PWD}/preload_user.inc
opcache.preload_user=root
opcache.log_verbosity_level=2
--ENV--
ASAN_OPTIONS=detect_leaks=0
--EXTENSIONS--
opcache
posix
Expand Down
3 changes: 2 additions & 1 deletion ext/opcache/tests/preload_user_004.phpt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--TEST--
preload_user is required when euid is 0 under non-cli SAPIs
--INI--
--ENV--
ASAN_OPTIONS=detect_leaks=0
--EXTENSIONS--
opcache
posix
Expand Down
3 changes: 2 additions & 1 deletion ext/opcache/tests/preload_user_005.phpt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--TEST--
preload_user=root is allowed under non-cli SAPIs
--INI--
--ENV--
ASAN_OPTIONS=detect_leaks=0
--EXTENSIONS--
opcache
posix
Expand Down