]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.5'
authorMichael Wallner <mike@php.net>
Thu, 17 Oct 2013 10:12:26 +0000 (12:12 +0200)
committerMichael Wallner <mike@php.net>
Thu, 17 Oct 2013 10:12:26 +0000 (12:12 +0200)
* PHP-5.5:
  Assume the free space is correct on Travis CI.

1  2 
ext/standard/tests/file/disk_free_space_basic.phpt

index bfa1db9397f34c180c62bdc29648a0fc881997a3,c3917a9417880e5c62f5d4e52eb84d617668b82b..bff30d9043077263534e19a91cd1888678c6dd89
@@@ -33,12 -33,10 +33,12 @@@ echo "\n Free Space after writing to a 
  $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
 +else {
    echo "\n Free Space Value Is Incorrect\n";
 +  var_dump($space1, $space2);
 +}
  
  echo "*** Testing with Binary Input ***\n";
  var_dump( disk_free_space(b"$file_path") );