knut Sat, 25 Jun 2011 07:45:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312450
Log: fixed temp directory names in spl tests Changed paths: U php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt U php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt U php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt U php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt U php/php-src/trunk/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt U php/php-src/trunk/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt Modified: php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt 2011-06-25 04:50:42 UTC (rev 312449) +++ php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt 2011-06-25 07:45:41 UTC (rev 312450) @@ -10,7 +10,7 @@ #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 @@ ?> --CLEAN-- <?php -$dirname = basename(__FILE__, '.phpt'); +$dirname = 'DirectoryIterator_getGroup_basic'; rmdir($dirname); ?> --EXPECTF-- Modified: php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt 2011-06-25 04:50:42 UTC (rev 312449) +++ php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt 2011-06-25 07:45:41 UTC (rev 312450) @@ -10,7 +10,7 @@ #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 @@ ?> --CLEAN-- <?php -$dirname = basename(__FILE__, '.phpt'); +$dirname = 'DirectoryIterator_getOwner_basic'; rmdir($dirname); ?> --EXPECTF-- Modified: php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt 2011-06-25 04:50:42 UTC (rev 312449) +++ php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt 2011-06-25 07:45:41 UTC (rev 312450) @@ -10,7 +10,7 @@ #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 @@ ?> --CLEAN-- <?php -$dirname = basename(__FILE__, '.phpt'); +$dirname = 'DirectoryIterator_getGroup_basic'; rmdir($dirname); ?> --EXPECTF-- Modified: php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt 2011-06-25 04:50:42 UTC (rev 312449) +++ php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt 2011-06-25 07:45:41 UTC (rev 312450) @@ -10,7 +10,7 @@ #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 @@ ?> --CLEAN-- <?php -$dirname = basename(__FILE__, '.phpt'); +$dirname = 'DirectoryIterator_getOwner_basic'; rmdir($dirname); ?> --EXPECTF-- Modified: php/php-src/trunk/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt =================================================================== --- php/php-src/trunk/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt 2011-06-25 04:50:42 UTC (rev 312449) +++ php/php-src/trunk/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt 2011-06-25 07:45:41 UTC (rev 312450) @@ -10,7 +10,7 @@ #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 @@ ?> --CLEAN-- <?php -$dirname = basename(__FILE__, '.phpt'); +$dirname = 'DirectoryIterator_getGroup_basic'; rmdir($dirname); ?> --EXPECTF-- Modified: php/php-src/trunk/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt =================================================================== --- php/php-src/trunk/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt 2011-06-25 04:50:42 UTC (rev 312449) +++ php/php-src/trunk/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt 2011-06-25 07:45:41 UTC (rev 312450) @@ -10,7 +10,7 @@ #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 @@ ?> --CLEAN-- <?php -$dirname = basename(__FILE__, '.phpt'); +$dirname = 'DirectoryIterator_getOwner_basic'; rmdir($dirname); ?> --EXPECTF--
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php