com php-src: Prevent parallel testing conflicts: ext/standard/t ests/file/disk_free_space_variation.phpt
| From: | Christoph Michael Becker | Date: | Tue, 15 Oct 2019 14:29:46 +0000 |
| Subject: | com php-src: Prevent parallel testing conflicts: ext/standard/t ests/file/disk_free_space_variation.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108923@lists.php.net to get a copy of this message | ||
Commit: 8e06504e9484ae6ea269b5fc18bab94187cff084
Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 15 Oct 2019 16:11:49 +0200
Parents: 6e2635d2f2d29115d2d1be2876ef489661766737
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e06504e9484ae6ea269b5fc18bab94187cff084
Log:
Prevent parallel testing conflicts
disk_free_space_basic.phpt already uses this directory, so we rename
it.
Changed paths:
M ext/standard/tests/file/disk_free_space_variation.phpt
Diff:
diff --git a/ext/standard/tests/file/disk_free_space_variation.phpt
b/ext/standard/tests/file/disk_free_space_variation.phpt
index 1008d9ecbb2..25eeadf8008 100644
--- a/ext/standard/tests/file/disk_free_space_variation.phpt
+++ b/ext/standard/tests/file/disk_free_space_variation.phpt
@@ -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 ***