]> granicus.if.org Git - php/commitdiff
Assume the free space is correct on Travis CI.
authorTjerk Meesters <datibbaw@php.net>
Wed, 9 Oct 2013 01:06:33 +0000 (09:06 +0800)
committerMichael Wallner <mike@php.net>
Thu, 17 Oct 2013 10:12:05 +0000 (12:12 +0200)
ext/standard/tests/file/disk_free_space_basic.phpt

index 7ea8d36153f06272da53bb8a7cd077958d546c6c..c3917a9417880e5c62f5d4e52eb84d617668b82b 100644 (file)
@@ -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";