com php-src: Merge branch 'PHP-5.5': ext/standard/tests/file/di sk_free_space_basic.phpt
| From: | Michael Wallner | Date: | Thu, 17 Oct 2013 10:12:26 +0000 |
| Subject: | com php-src: Merge branch 'PHP-5.5': ext/standard/tests/file/di sk_free_space_basic.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73683@lists.php.net to get a copy of this message | ||
Commit: bd666e2f99acfb1ec53efd300538a8477dedfe1c
Author: Michael Wallner <mike@php.net> Thu, 17 Oct 2013 12:12:26 +0200
Parents: 89e93bd2a27d66c9d56218e31cd42441298548e6 51b809e3ad244df1102ca2f44a03ea1fee063579
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bd666e2f99acfb1ec53efd300538a8477dedfe1c
Log:
Merge branch 'PHP-5.5'
* PHP-5.5:
Assume the free space is correct on Travis CI.
Changed paths:
MM ext/standard/tests/file/disk_free_space_basic.phpt
Diff:
diff --cc ext/standard/tests/file/disk_free_space_basic.phpt
index bfa1db9,c3917a9..bff30d9
--- a/ext/standard/tests/file/disk_free_space_basic.phpt
+++ b/ext/standard/tests/file/disk_free_space_basic.phpt
@@@ -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") );