summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjvoisin2018-01-06 20:24:17 +0100
committerjvoisin2018-01-06 20:24:17 +0100
commit5daf1dcacc194d2fcd7260d1f9b06b3a08a8505f (patch)
tree41b9ce28b19e723441d576afeb877362dea384be /src
parentc463edcee51dfab4358f1aff5a70c2f2f940a20b (diff)
Ignore a test when running the testsuite as root
Diffstat (limited to 'src')
-rw-r--r--src/tests/deny_writable_execution_simulation.phpt1
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
5if (!extension_loaded("snuffleupagus")) print "skip"; 5if (!extension_loaded("snuffleupagus")) print "skip";
6if (0 == posix_getuid()) print "skip"; // root has write privileges on any file
6 ?> 7 ?>
7--INI-- 8--INI--
8sp.configuration_file={PWD}/config/config_disable_writable_simulation.ini 9sp.configuration_file={PWD}/config/config_disable_writable_simulation.ini