diff options
Diffstat (limited to 'src/tests/dump_request')
| -rw-r--r-- | src/tests/dump_request/dump_request_nonwriteable_folder.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/dump_request/dump_request_nonwriteable_folder.phpt b/src/tests/dump_request/dump_request_nonwriteable_folder.phpt index fc70341..25b4c47 100644 --- a/src/tests/dump_request/dump_request_nonwriteable_folder.phpt +++ b/src/tests/dump_request/dump_request_nonwriteable_folder.phpt | |||
| @@ -8,11 +8,11 @@ if ("ubuntu" == getenv("CI_JOB_IMAGE")) { print "skip"; } | |||
| 8 | // root has write privileges "any" folders | 8 | // root has write privileges "any" folders |
| 9 | if (TRUE == function_exists("posix_getuid")) { | 9 | if (TRUE == function_exists("posix_getuid")) { |
| 10 | if (0 == posix_getuid()) { | 10 | if (0 == posix_getuid()) { |
| 11 | print "skip"; | 11 | print "skip Running as root"; |
| 12 | } | 12 | } |
| 13 | } elseif (TRUE == function_exists("shell_exec")) { | 13 | } elseif (TRUE == function_exists("shell_exec")) { |
| 14 | if ("root" == trim(shell_exec("whoami"))) { | 14 | if ("root" == trim(shell_exec("whoami"))) { |
| 15 | print "skip"; | 15 | print "skip Running as root"; |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
