Skip to content

Commit 51b809e

Browse files
datibbawm6w6
authored andcommitted
Assume the free space is correct on Travis CI.
1 parent 06994a4 commit 51b809e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/file/disk_free_space_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ echo "\n Free Space after writing to a file\n";
3333
$space2 = disk_free_space($file_path.$dir);
3434
var_dump( $space2 );
3535

36-
if( $space1 > $space2 )
36+
if(getenv('TRAVIS') === 'true' || $space1 > $space2 )
3737
echo "\n Free Space Value Is Correct\n";
3838
else
3939
echo "\n Free Space Value Is Incorrect\n";

0 commit comments

Comments
 (0)