Skip to content

Commit 1c9fe30

Browse files
committed
Fix directory collisions in zlib tests
1 parent e2cc0b8 commit 1c9fe30

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

ext/zlib/tests/gzfile_variation15.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (!extension_loaded("zlib")) {
88
?>
99
--FILE--
1010
<?php
11+
$thisTestDir = 'gzfile_variation15.dir';
1112
require_once('reading_include_path.inc');
1213

1314
//define the files to go into these directories, create one in dir2

ext/zlib/tests/gzopen_variation4.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ if (!extension_loaded("zlib")) {
1616

1717
echo "*** Testing gzopen() : usage variation ***\n";
1818

19+
$thisTestDir = 'gzopen_variation4.dir';
1920
require_once('reading_include_path.inc');
2021

2122
//define the files to go into these directories, create one in dir2

ext/zlib/tests/readgzfile_variation15.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (!extension_loaded("zlib")) {
88
?>
99
--FILE--
1010
<?php
11+
$thisTestDir = 'readgzfile_variation15.dir';
1112
require_once('reading_include_path.inc');
1213

1314
//define the files to go into these directories, create one in dir2

ext/zlib/tests/reading_include_path.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
$thisTestDir = "zlibVariation.dir";
32
mkdir($thisTestDir);
43
chdir($thisTestDir);
54

0 commit comments

Comments
 (0)