1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

Prevent parallel testing conflicts

disk_free_space_basic.phpt already uses this directory, so we rename
it.
This commit is contained in:
Christoph M. Becker
2019-10-15 16:11:49 +02:00
parent 6e2635d2f2
commit 8e06504e94

View 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 ***