com php-src: Assume the free space is correct on Travis CI.: ext/standard/tests/file/disk_free_space_basic.phpt

From: Date: Thu, 17 Oct 2013 10:12:05 +0000
Subject: com php-src: Assume the free space is correct on Travis CI.: ext/standard/tests/file/disk_free_space_basic.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73682@lists.php.net to get a copy of this message
Commit: 51b809e3ad244df1102ca2f44a03ea1fee063579 Author: Tjerk Meesters <datibbaw@php.net> Wed, 9 Oct 2013 09:06:33 +0800 Committer: Michael Wallner <mike@php.net> Thu, 17 Oct 2013 12:12:05 +0200 Parents: 06994a419d625291c2ae071e3b22716901b45cf6 Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=51b809e3ad244df1102ca2f44a03ea1fee063579 Log: Assume the free space is correct on Travis CI. 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 7ea8d36..c3917a9 100644 --- a/ext/standard/tests/file/disk_free_space_basic.phpt +++ b/ext/standard/tests/file/disk_free_space_basic.phpt @@ -33,7 +33,7 @@ echo "\n Free Space after writing to a file\n"; $space2 = disk_free_space($file_path.$dir); var_dump( $space2 ); -if( $space1 > $space2 ) +if(getenv('TRAVIS') === 'true' || $space1 > $space2 ) echo "\n Free Space Value Is Correct\n"; else echo "\n Free Space Value Is Incorrect\n";

« previous php.cvs (#73682) next »