summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/spl/tests/DirectoryIterator_getGroup_basic.phpt4
-rw-r--r--ext/spl/tests/DirectoryIterator_getOwner_basic.phpt4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt b/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
index 3573d85852..9cc9fadbee 100644
--- a/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
+++ b/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
@@ -10,7 +10,7 @@ Jacopo Romei <jacopo@sviluppoagile.it>
#Test Fest Cesena (Italy) on 2009-06-20
--FILE--
<?php
-$dirname = basename(__FILE__, '.phpt');
+$dirname = 'DirectoryIterator_getGroup_basic';
mkdir($dirname);
$dir = new DirectoryIterator($dirname);
$expected = filegroup($dirname);
@@ -19,7 +19,7 @@ var_dump($expected == $actual);
?>
--CLEAN--
<?php
-$dirname = basename(__FILE__, '.phpt');
+$dirname = 'DirectoryIterator_getGroup_basic';
rmdir($dirname);
?>
--EXPECTF--
diff --git a/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt b/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
index f02cb6e04e..c5e9f7c2c6 100644
--- a/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
+++ b/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
@@ -10,7 +10,7 @@ Jacopo Romei <jacopo@sviluppoagile.it>
#Test Fest Cesena (Italy) on 2009-06-20
--FILE--
<?php
-$dirname = basename(__FILE__, '.phpt');
+$dirname = 'DirectoryIterator_getOwner_basic';
mkdir($dirname);
$dir = new DirectoryIterator($dirname);
$expected = fileowner($dirname);
@@ -19,7 +19,7 @@ var_dump($expected == $actual);
?>
--CLEAN--
<?php
-$dirname = basename(__FILE__, '.phpt');
+$dirname = 'DirectoryIterator_getOwner_basic';
rmdir($dirname);
?>
--EXPECTF--