cvs: php-src(PHP_5_2) /ext/standard/tests/file fflush_error.phpt
| From: | Ant Phillips | Date: | Wed, 31 Dec 2008 10:18:20 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/file fflush_error.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55196@lists.php.net to get a copy of this message | ||
ant Wed Dec 31 10:18:20 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/file fflush_error.phpt
Log:
Revert to the previous version for these tests as they were overwritten by mistake (checked on
Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok
and I'll watch the test results).
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/fflush_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/file/fflush_error.phpt
diff -u php-src/ext/standard/tests/file/fflush_error.phpt:1.1.2.2
php-src/ext/standard/tests/file/fflush_error.phpt:1.1.2.3
--- php-src/ext/standard/tests/file/fflush_error.phpt:1.1.2.2 Tue Nov 25 11:31:26 2008
+++ php-src/ext/standard/tests/file/fflush_error.phpt Wed Dec 31 10:18:20 2008
@@ -24,10 +24,9 @@
var_dump( fflush($file_handle, $file_handle) );
fclose($file_handle);
-fflush($file_handle);
// test invalid arguments : non-resources
-echo "\n-- Testing fflush(): with invalid arguments --\n";
+echo "-- Testing fflush(): with invalid arguments --\n";
$invalid_args = array (
"string",
10,
@@ -61,9 +60,6 @@
Warning: Wrong parameter count for fflush() in %s on line %d
NULL
-
-Warning: fflush(): %d is not a valid stream resource in %s on line %d
-
-- Testing fflush(): with invalid arguments --
-- Iteration 1 --