com php-src: remove TRAVIS check in test source: ext/standard/t ests/file/disk_free_space_basic.phpt
| From: | Michael Wallner | Date: | Mon, 21 Oct 2013 10:18:58 +0000 |
| Subject: | com php-src: remove TRAVIS check in test source: ext/standard/t ests/file/disk_free_space_basic.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73772@lists.php.net to get a copy of this message | ||
Commit: fb610b4e808c770800434d1a42d606f274927a94
Author: Michael Wallner <mike@php.net> Mon, 21 Oct 2013 12:18:58 +0200
Parents: 825174e48073005d408c5a5b6be942dbd9be8e54
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fb610b4e808c770800434d1a42d606f274927a94
Log:
remove TRAVIS check in test source
Changed paths:
M ext/standard/tests/file/disk_free_space_basic..phpt
Diff:
diff --git a/ext/standard/tests/file/disk_free_space_basic.phpt
b/ext/standard/tests/file/disk_free_space_basic.phpt
index e0bc367..200e92a 100644
--- a/ext/standard/tests/file/disk_free_space_basic.phpt
+++ b/ext/standard/tests/file/disk_free_space_basic.phpt
@@ -37,7 +37,7 @@ echo "\n Free Space after writing to a file\n";
$space2 = disk_free_space($file_path.$dir);
var_dump( $space2 );
-if(getenv('TRAVIS') === 'true' || $space1 > $space2 )
+if($space1 > $space2 )
echo "\n Free Space Value Is Correct\n";
else
echo "\n Free Space Value Is Incorrect\n";