summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-01-02 12:02:41 +0100
committerjvoisin2018-01-02 12:02:41 +0100
commit126f6d96a3b8c4633723dd4161c970c9c8ac37f7 (patch)
treedc997177f4fa8a7fd52eadbf1348e9185d3b0cbd
parente66e5cef453bfd4d427f580111d89ee3be35f115 (diff)
Remove some useless code in the testsuite
-rw-r--r--src/tests/deny_writable_execution_simulation.phpt10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/tests/deny_writable_execution_simulation.phpt b/src/tests/deny_writable_execution_simulation.phpt
index 549fb81..9cfe56c 100644
--- a/src/tests/deny_writable_execution_simulation.phpt
+++ b/src/tests/deny_writable_execution_simulation.phpt
@@ -3,16 +3,6 @@ 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";
6
7$filename = __DIR__ . '/test.txt';
8
9@unlink($filename);
10
11file_put_contents($filename, 'a');
12chmod($filename, 0400);
13
14if (is_writable($filename)) print "skip";;
15@unlink($filename);
16 ?> 6 ?>
17--INI-- 7--INI--
18sp.configuration_file={PWD}/config/config_disable_writable_simulation.ini 8sp.configuration_file={PWD}/config/config_disable_writable_simulation.ini