re-enable tests
These were reported (correctly) as crappy and disabled in D801504. I fixed them.
Esse commit está contido em:
+1
-1
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$it = new DirectoryIterator(dirname(__FILE__));
|
||||
$it = new DirectoryIterator(__DIR__."/../../../sample_dir/");
|
||||
|
||||
$count = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchgrp.txt';
|
||||
$symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'symlink.txt';
|
||||
$symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchgrp_basic_symlink.txt';
|
||||
|
||||
$gid = posix_getgid();
|
||||
|
||||
@@ -13,7 +13,7 @@ var_dump( filegroup( $symlink ) === $gid );
|
||||
===DONE===<?php
|
||||
|
||||
$filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchgrp.txt';
|
||||
$symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'symlink.txt';
|
||||
$symlink = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lchgrp_basic_symlink.txt';
|
||||
unlink($filename);
|
||||
unlink($symlink);
|
||||
|
||||
|
||||
@@ -519,6 +519,10 @@ def walk(filename, source):
|
||||
test = test.replace('temp.txt.gz', 'gzread_variation1.gz')
|
||||
if '/ext-zlib/gzwrite_basic.php' in full_dest_filename:
|
||||
test = test.replace('temp.txt.gz', 'gzwrite_basic.gz')
|
||||
if '/ext-spl/bug42364.php' in full_dest_filename:
|
||||
test = test.replace('dirname(__FILE__)', '__DIR__."/../../../sample_dir/"')
|
||||
if '/ext-standard-file/lchgrp_basic.php' in full_dest_filename:
|
||||
test = test.replace('symlink.txt', 'lchgrp_basic_symlink.txt')
|
||||
|
||||
file(full_dest_filename, 'w').write(test)
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário