summaryrefslogtreecommitdiff
path: root/src/tests/dump_request/dump_request_nonwriteable_folder.phpt
diff options
context:
space:
mode:
authorChristian Göttsche2026-02-15 20:00:01 +0100
committerjvoisin2026-02-15 20:49:09 +0100
commit9e94280c0b6356be37b8f9a0a4d2303146863a5b (patch)
tree7f1441efa79d29cd9614a1318a9927eb3d20c179 /src/tests/dump_request/dump_request_nonwriteable_folder.phpt
parent9ae9a21b60a25aa4df009211dbfbd9ac765e4ecb (diff)
tests: add several skip reasons
Co-authored-by: Julien "jvoisin" Voisin <julien.voisin@dustri.org>
Diffstat (limited to '')
-rw-r--r--src/tests/dump_request/dump_request_nonwriteable_folder.phpt4
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
9if (TRUE == function_exists("posix_getuid")) { 9if (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