From: Tjerk Meesters Date: Wed, 9 Oct 2013 01:06:33 +0000 (+0800) Subject: Assume the free space is correct on Travis CI. X-Git-Tag: php-5.5.6RC1~5^2~34^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51b809e3ad244df1102ca2f44a03ea1fee063579;p=php Assume the free space is correct on Travis CI. --- diff --git a/ext/standard/tests/file/disk_free_space_basic.phpt b/ext/standard/tests/file/disk_free_space_basic.phpt index 7ea8d36153..c3917a9417 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";