Browse Source

Assume the free space is correct on Travis CI.

pull/483/merge
Tjerk Meesters 12 years ago
committed by Michael Wallner
parent
commit
51b809e3ad
  1. 2
      ext/standard/tests/file/disk_free_space_basic.phpt

2
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";

Loading…
Cancel
Save