diff options
| -rw-r--r-- | src/tests/deny_writable_execution_simulation.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/deny_writable_execution_simulation.phpt b/src/tests/deny_writable_execution_simulation.phpt index 9cfe56c..85b909c 100644 --- a/src/tests/deny_writable_execution_simulation.phpt +++ b/src/tests/deny_writable_execution_simulation.phpt | |||
| @@ -3,6 +3,7 @@ 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 (0 == posix_getuid()) print "skip"; // root has write privileges on any file | ||
| 6 | ?> | 7 | ?> |
| 7 | --INI-- | 8 | --INI-- |
| 8 | sp.configuration_file={PWD}/config/config_disable_writable_simulation.ini | 9 | sp.configuration_file={PWD}/config/config_disable_writable_simulation.ini |
