]> granicus.if.org Git - php/commitdiff
fix these tests so they properly clean up after themselves.
authorFerenc Kovacs <tyrael@php.net>
Mon, 20 Jan 2014 17:04:35 +0000 (18:04 +0100)
committerFerenc Kovacs <tyrael@php.net>
Mon, 20 Jan 2014 17:04:35 +0000 (18:04 +0100)
tests/security/open_basedir_linkinfo.phpt
tests/security/open_basedir_readlink.phpt

index f8be45305e82168520b654ba5a648f6169ccddda..55cf2c2f4be745da38d028741884fbb5868946d7 100644 (file)
@@ -41,6 +41,7 @@ test_open_basedir_after("linkinfo");
 ?>
 --CLEAN--
 <?php
+chdir(__DIR__);
 require_once "open_basedir.inc";
 delete_directories();
 ?>
index b102ee9d9c74bf200f193991ae96fa46e4e4400c..33720bbf1b60f43a6cc633dac04a8e24c807412a 100644 (file)
@@ -37,6 +37,7 @@ test_open_basedir_after("readlink");
 ?>
 --CLEAN--
 <?php
+chdir(__DIR__);
 require_once "open_basedir.inc";
 delete_directories();
 ?>