mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
fixed temp directory names in spl tests
This commit is contained in:
parent
f8e21c395b
commit
778edca904
2 changed files with 4 additions and 4 deletions
|
@ -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--
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue