diff options
author | Ferenc Kovacs <tyrael@php.net> | 2014-01-20 18:04:35 +0100 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2014-01-20 18:04:35 +0100 |
commit | 2bd68bf03940769cbd59e5876935147291fd4017 (patch) | |
tree | 8735242089bce99acae22a548eeff39cd8524e00 /tests | |
parent | b2606f669ae30b35bc18cb3eb0f7ebfcbf2620f7 (diff) | |
download | php-git-2bd68bf03940769cbd59e5876935147291fd4017.tar.gz |
fix these tests so they properly clean up after themselves.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/security/open_basedir_linkinfo.phpt | 1 | ||||
-rw-r--r-- | tests/security/open_basedir_readlink.phpt | 1 |
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(); ?> |