Browse Source

fixed temp directory names in spl tests

pull/271/head
Knut Urdalen 15 years ago
parent
commit
db34dc0a8b
  1. 4
      ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
  2. 4
      ext/spl/tests/DirectoryIterator_getOwner_basic.phpt

4
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--

4
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--

Loading…
Cancel
Save