summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-01-21 02:28:49 +0100
committerFerenc Kovacs <tyrael@php.net>2014-01-21 02:28:49 +0100
commit425dbe55ef597a76ab16dac483be0ec785a0dfb5 (patch)
treeb1e3d460df5daab289b4a2edd24fbf7feecc210b /tests
parent6e7d132b7a77a5998f0fcd39844afcc1c26e9531 (diff)
parentc4142f6f58925a9db376e34754d370721a871391 (diff)
downloadphp-git-425dbe55ef597a76ab16dac483be0ec785a0dfb5.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: fix these tests so they properly clean up after themselves.
Diffstat (limited to 'tests')
-rw-r--r--tests/security/open_basedir_linkinfo.phpt1
-rw-r--r--tests/security/open_basedir_readlink.phpt1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/security/open_basedir_linkinfo.phpt b/tests/security/open_basedir_linkinfo.phpt
index f8be45305e..55cf2c2f4b 100644
--- a/tests/security/open_basedir_linkinfo.phpt
+++ b/tests/security/open_basedir_linkinfo.phpt
@@ -41,6 +41,7 @@ test_open_basedir_after("linkinfo");
?>
--CLEAN--
<?php
+chdir(__DIR__);
require_once "open_basedir.inc";
delete_directories();
?>
diff --git a/tests/security/open_basedir_readlink.phpt b/tests/security/open_basedir_readlink.phpt
index b102ee9d9c..33720bbf1b 100644
--- a/tests/security/open_basedir_readlink.phpt
+++ b/tests/security/open_basedir_readlink.phpt
@@ -37,6 +37,7 @@ test_open_basedir_after("readlink");
?>
--CLEAN--
<?php
+chdir(__DIR__);
require_once "open_basedir.inc";
delete_directories();
?>