diff options
author | Knut Urdalen <knut@php.net> | 2011-06-25 07:45:41 +0000 |
---|---|---|
committer | Knut Urdalen <knut@php.net> | 2011-06-25 07:45:41 +0000 |
commit | 778edca9048c9080fe7545c09e745e00cda65d30 (patch) | |
tree | 221240c68830a7bdf7d85754525ae5227b7d6ce2 /ext | |
parent | f8e21c395b901a301c3bc622435fc01d533d9768 (diff) | |
download | php-git-778edca9048c9080fe7545c09e745e00cda65d30.tar.gz |
fixed temp directory names in spl tests
Diffstat (limited to 'ext')
-rw-r--r-- | ext/spl/tests/DirectoryIterator_getGroup_basic.phpt | 4 | ||||
-rw-r--r-- | ext/spl/tests/DirectoryIterator_getOwner_basic.phpt | 4 |
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-- |