diff options
author | Tjerk Meesters <datibbaw@php.net> | 2013-10-09 09:06:33 +0800 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2013-10-17 12:12:05 +0200 |
commit | 51b809e3ad244df1102ca2f44a03ea1fee063579 (patch) | |
tree | 825586b5a3195a273bc9e20c7658f32a8ed8e8e8 /ext/standard | |
parent | 06994a419d625291c2ae071e3b22716901b45cf6 (diff) | |
download | php-git-51b809e3ad244df1102ca2f44a03ea1fee063579.tar.gz |
Assume the free space is correct on Travis CI.
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/tests/file/disk_free_space_basic.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |