com php-src: fix these tests so they properly clean up after themselves.: tests/security/open_basedir_linkinfo.phpt tests/securit
y/open_basedir_readlink.phpt

From: Date: Mon, 20 Jan 2014 17:04:35 +0000
Subject: com php-src: fix these tests so they properly clean up after themselves.: tests/security/open_basedir_linkinfo.phpt tests/securit
y/open_basedir_readlink.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75716@lists.php.net to get a copy of this message
Commit: 2bd68bf03940769cbd59e5876935147291fd4017 Author: Ferenc Kovacs <tyrael@php.net> Mon, 20 Jan 2014 18:04:35 +0100 Parents: b2606f669ae30b35bc18cb3eb0f7ebfcbf2620f7 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2bd68bf03940769cbd59e5876935147291fd4017 Log: fix these tests so they properly clean up after themselves. Changed paths: M tests/security/open_basedir_linkinfo.phpt M tests/security/open_basedir_readlink.phpt Diff: diff --git a/tests/security/open_basedir_linkinfo.phpt b/tests/security/open_basedir_linkinfo.phpt index f8be453..55cf2c2 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 b102ee9...33720bb 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(); ?>

« previous php.cvs (#75716) next »