One file is placed inside the script directory, we need to make
sure it has a unique name as well.
?>
--FILE--
<?php
-$thisTestDir = 'gzfile_variation15.dir';
+$testName = 'gzfile_variation15';
require_once('reading_include_path.inc');
//define the files to go into these directories, create one in dir2
echo "*** Testing gzopen() : usage variation ***\n";
-$thisTestDir = 'gzopen_variation4.dir';
+$testName = 'gzopen_variation4';
require_once('reading_include_path.inc');
//define the files to go into these directories, create one in dir2
?>
--FILE--
<?php
-$thisTestDir = 'readgzfile_variation15.dir';
+$testName = 'readgzfile_variation15';
require_once('reading_include_path.inc');
//define the files to go into these directories, create one in dir2
<?php
+$thisTestDir = $testName . '.dir';
mkdir($thisTestDir);
chdir($thisTestDir);
//create the include directory structure
$workingDir = "workdir";
-$filename = "afile.txt.gz";
+$filename = $testName . ".txt.gz";
$scriptDir = dirname(__FILE__);
$baseDir = getcwd();
$secondFile = $baseDir."/dir2/".$filename;