com php-src: Fix directory collisions in zlib tests: ext/zlib/tests/gzfile_variation15.phpt ext/zlib/tests /gzopen_variation4.phpt
ext/zlib/tests/readgzfile_var iation15.phpt ext/zlib/tests/reading_include_path .inc

From: Date: Fri, 22 Feb 2019 10:25:52 +0000
Subject: com php-src: Fix directory collisions in zlib tests: ext/zlib/tests/gzfile_variation15.phpt ext/zlib/tests /gzopen_variation4.phpt
ext/zlib/tests/readgzfile_var iation15.phpt ext/zlib/tests/reading_include_path .inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104832@lists.php.net to get a copy of this message
Commit: 1c9fe3042560b63b35daefbe57306c4164a672af Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 22 Feb 2019 11:11:20 +0100 Parents: e2cc0b823cbeb57ded6366a5710b359088e6e1d6 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1c9fe3042560b63b35daefbe57306c4164a672af Log: Fix directory collisions in zlib tests Changed paths: M ext/zlib/tests/gzfile_variation15.phpt M ext/zlib/tests/gzopen_variation4.phpt M ext/zlib/tests/readgzfile_variation15.phpt M ext/zlib/tests/reading_include_path.inc Diff: diff --git a/ext/zlib/tests/gzfile_variation15.phpt b/ext/zlib/tests/gzfile_variation15.phpt index 02eb2df..153f567 100644 --- a/ext/zlib/tests/gzfile_variation15.phpt +++ b/ext/zlib/tests/gzfile_variation15.phpt @@ -8,6 +8,7 @@ if (!extension_loaded("zlib")) { ?> --FILE-- <?php +$thisTestDir = 'gzfile_variation15.dir'; require_once('reading_include_path.inc'); //define the files to go into these directories, create one in dir2 diff --git a/ext/zlib/tests/gzopen_variation4.phpt b/ext/zlib/tests/gzopen_variation4.phpt index a00fd87..baa9c71 100644 --- a/ext/zlib/tests/gzopen_variation4.phpt +++ b/ext/zlib/tests/gzopen_variation4.phpt @@ -16,6 +16,7 @@ if (!extension_loaded("zlib")) { echo "*** Testing gzopen() : usage variation ***\n"; +$thisTestDir = 'gzopen_variation4.dir'; require_once('reading_include_path.inc'); //define the files to go into these directories, create one in dir2 diff --git a/ext/zlib/tests/readgzfile_variation15.phpt b/ext/zlib/tests/readgzfile_variation15.phpt index 5a97949..40773f7 100644 --- a/ext/zlib/tests/readgzfile_variation15.phpt +++ b/ext/zlib/tests/readgzfile_variation15.phpt @@ -8,6 +8,7 @@ if (!extension_loaded("zlib")) { ?> --FILE-- <?php +$thisTestDir = 'readgzfile_variation15.dir'; require_once('reading_include_path.inc'); //define the files to go into these directories, create one in dir2 diff --git a/ext/zlib/tests/reading_include_path.inc b/ext/zlib/tests/reading_include_path.inc index abe80bf..b4dbbc2 100644 --- a/ext/zlib/tests/reading_include_path.inc +++ b/ext/zlib/tests/reading_include_path.inc @@ -1,5 +1,4 @@ <?php -$thisTestDir = "zlibVariation.dir"; mkdir($thisTestDir); chdir($thisTestDir);

« previous php.cvs (#104832) next »