]> granicus.if.org Git - php/commitdiff
Prevent parallel testing conflicts
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 15 Oct 2019 14:11:49 +0000 (16:11 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 15 Oct 2019 14:29:46 +0000 (16:29 +0200)
disk_free_space_basic.phpt already uses this directory, so we rename
it.

ext/standard/tests/file/disk_free_space_variation.phpt

index 1008d9ecbb211af2a4e9c41a2ed56f5f9bd4d205..25eeadf8008679ef32c3206d22d8a23b4a418fac 100644 (file)
@@ -20,7 +20,7 @@ $return_value = disk_free_space($file_path);
 var_dump( is_float($return_value) );
 
 echo "\n*** Testing with different directory combinations ***";
-$dir = "/disk_free_space";
+$dir = "/disk_free_space_variation";
 mkdir($file_path.$dir);
 
 $dirs_arr = array(
@@ -58,7 +58,7 @@ echo"\n--- Done ---";
 --CLEAN--
 <?php
 $file_path = __DIR__;
-rmdir($file_path."/disk_free_space");
+rmdir($file_path."/disk_free_space_variation");
 ?>
 --EXPECTF--
 *** Testing with a directory ***