felipe          Mon Jul 21 14:31:40 2008 UTC

  Modified files:              
    /php-src/ext/standard/tests/streams 
                                        stream_get_meta_data_file_error.phpt 
                                        stream_set_timeout_error.phpt 
  Log:
  - Fixed tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt
diff -u 
php-src/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt:1.1 
php-src/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt:1.2
--- php-src/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt:1.1 
Wed Mar 19 17:38:20 2008
+++ php-src/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt     
Mon Jul 21 14:31:40 2008
@@ -37,21 +37,21 @@
 
 -- Testing stream_get_meta_data() function with Zero arguments --
 
-Warning: Wrong parameter count for stream_get_meta_data() in %s on line %i
+Warning: stream_get_meta_data() expects exactly 1 parameter, 0 given in %s on 
line %d
 NULL
 
 -- Testing stream_get_meta_data() function with more than expected no. of 
arguments --
 
-Warning: Wrong parameter count for stream_get_meta_data() in %s on line %i
+Warning: stream_get_meta_data() expects exactly 1 parameter, 2 given in %s on 
line %d
 NULL
 
 -- Testing stream_get_meta_data() function with invalid stream resource --
 
-Warning: stream_get_meta_data(): supplied argument is not a valid stream 
resource in %s on line %i
-bool(false)
+Warning: stream_get_meta_data() expects parameter 1 to be resource, null given 
in %s on line %d
+NULL
 
 -- Testing stream_get_meta_data() function with closed stream resource --
 
-Warning: stream_get_meta_data(): %i is not a valid stream resource in %s on 
line %i
+Warning: stream_get_meta_data(): 5 is not a valid stream resource in %s on 
line %d
 bool(false)
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/streams/stream_set_timeout_error.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/streams/stream_set_timeout_error.phpt
diff -u php-src/ext/standard/tests/streams/stream_set_timeout_error.phpt:1.1 
php-src/ext/standard/tests/streams/stream_set_timeout_error.phpt:1.2
--- php-src/ext/standard/tests/streams/stream_set_timeout_error.phpt:1.1        
Wed Mar 19 17:38:20 2008
+++ php-src/ext/standard/tests/streams/stream_set_timeout_error.phpt    Mon Jul 
21 14:31:40 2008
@@ -56,23 +56,23 @@
 
 -- Testing stream_set_timeout() function with more than expected no. of 
arguments --
 
-Warning: Wrong parameter count for stream_set_timeout() in %s on line %i
+Warning: stream_set_timeout() expects at most 3 parameters, 4 given in %s on 
line %d
 NULL
 
 -- Testing stream_set_timeout() function with less than expected no. of 
arguments --
 
-Warning: Wrong parameter count for stream_set_timeout() in %s on line %i
+Warning: stream_set_timeout() expects at least 2 parameters, 1 given in %s on 
line %d
 NULL
 
 -- Testing stream_set_timeout() function with a closed socket --
 
-Warning: stream_set_timeout(): %i is not a valid stream resource in %s on line 
%i
+Warning: stream_set_timeout(): 6 is not a valid stream resource in %s on line 
%d
 bool(false)
 
 -- Testing stream_set_timeout() function with an invalid stream --
 
-Warning: stream_set_timeout(): supplied argument is not a valid stream 
resource in %s on line %i
-bool(false)
+Warning: stream_set_timeout() expects parameter 1 to be resource, integer 
given in %s on line %d
+NULL
 
 -- Testing stream_set_timeout() function with a stream that does not support 
timeouts --
 bool(false)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to