diff options
| author | jvoisin | 2020-06-19 16:53:45 +0200 |
|---|---|---|
| committer | jvoisin | 2020-06-19 16:53:45 +0200 |
| commit | 4f496c22c953c798c5b6d2a0cf22f9ee8201a071 (patch) | |
| tree | 5b848f5279214dad266bfbe6e8ca85392a96e016 /src | |
| parent | 7f9602ebc23582195d63eb35f1de1961297f2e00 (diff) | |
Fix the gitlab-ci Ubuntu runner
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/deny_writable/deny_writable_execution_simulation.phpt | 3 | ||||
| -rw-r--r-- | src/tests/dump_request/dump_request_nonwriteable_folder.phpt | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/deny_writable/deny_writable_execution_simulation.phpt b/src/tests/deny_writable/deny_writable_execution_simulation.phpt index b03bc8f..db46718 100644 --- a/src/tests/deny_writable/deny_writable_execution_simulation.phpt +++ b/src/tests/deny_writable/deny_writable_execution_simulation.phpt | |||
| @@ -2,7 +2,8 @@ | |||
| 2 | Readonly execution attempt (simulation mode) | 2 | Readonly execution attempt (simulation mode) |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php | 4 | <?php |
| 5 | if (!extension_loaded("snuffleupagus")) print "skip"; | 5 | if (!extension_loaded("snuffleupagus")) { print "skip" }; |
| 6 | if ("ubuntu" == getenv("CI_JOB_IMAGE")) { print "skip"; } | ||
| 6 | 7 | ||
| 7 | // root has write privileges on any file | 8 | // root has write privileges on any file |
| 8 | if (TRUE == function_exists("posix_getuid")) { | 9 | if (TRUE == function_exists("posix_getuid")) { |
diff --git a/src/tests/dump_request/dump_request_nonwriteable_folder.phpt b/src/tests/dump_request/dump_request_nonwriteable_folder.phpt index 5292467..05296b1 100644 --- a/src/tests/dump_request/dump_request_nonwriteable_folder.phpt +++ b/src/tests/dump_request/dump_request_nonwriteable_folder.phpt | |||
| @@ -3,6 +3,7 @@ Dump request - nonwriteable folder. | |||
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php | 4 | <?php |
| 5 | if (!extension_loaded("snuffleupagus")) { print "skip"; } | 5 | if (!extension_loaded("snuffleupagus")) { print "skip"; } |
| 6 | if ("ubuntu" == getenv("CI_JOB_IMAGE")) { print "skip"; } | ||
| 6 | 7 | ||
| 7 | // root has write privileges "any" folders | 8 | // root has write privileges "any" folders |
| 8 | if (TRUE == function_exists("posix_getuid")) { | 9 | if (TRUE == function_exists("posix_getuid")) { |
