set_include_path($newpath);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
set_include_path($newpath);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
set_include_path("rubbish");
testme();
-restore_include_path();
function testme() {
runtest();
teardown_include_path();
-restore_include_path();
function runtest() {
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
foreach($modes as $mode) {
test_fopen($mode);
}
-restore_include_path();
// remove the directory structure
chdir($baseDir);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
foreach($modes as $mode) {
test_fopen($mode);
}
-restore_include_path();
// remove the directory structure
chdir($baseDir);
runtest();
teardown_relative_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
set_include_path($newpath);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
set_include_path($newpath);
runtest();
teardown_include_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
//define the files to go into these directories, create one in dir2
set_include_path($newIncludePath);
test_gzfile();
-restore_include_path();
// remove the directory structure
chdir($baseDir);
foreach($modes as $mode) {
test_gzopen($mode);
}
-restore_include_path();
// remove the directory structure
chdir($baseDir);
runtest();
teardown_relative_path();
-restore_include_path();
chdir("..");
rmdir($thisTestDir);
//define the files to go into these directories, create one in dir2
set_include_path($newIncludePath);
test_readgzfile();
-restore_include_path();
// remove the directory structure
chdir($baseDir);