com php-src: fix expected warning in test: ext/sockets/tests/so cket_import_stream-4-win.phpt
| From: | Anatol Belski | Date: | Sun, 31 Aug 2014 12:02:31 +0000 |
| Subject: | com php-src: fix expected warning in test: ext/sockets/tests/so cket_import_stream-4-win.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81317@lists.php.net to get a copy of this message | ||
Commit: a3f82ae0eedde80ced142248e26e5a8a11f843ec
Author: Anatol Belski <ab@php.net> Sat, 30 Aug 2014 00:33:33 +0200
Parents: b89d7ae5bae3ce2db6d5177e65a31e56bd5924ad
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a3f82ae0eedde80ced142248e26e5a8a11f843ec
Log:
fix expected warning in test
Changed paths:
M ext/sockets/tests/socket_import_stream-4-win.phpt
Diff:
diff --git a/ext/sockets/tests/socket_import_stream-4-win.phpt
b/ext/sockets/tests/socket_import_stream-4-win.phpt
index b36764f..0effd04 100644
--- a/ext/sockets/tests/socket_import_stream-4-win.phpt
+++ b/ext/sockets/tests/socket_import_stream-4-win.phpt
@@ -77,7 +77,7 @@ stream_set_blocking 1
close stream
stream_set_blocking
-Warning: stream_set_blocking(): %d is not a valid stream resource in %s on line %d
+Warning: stream_set_blocking(): supplied resource is not a valid stream resource in %s on line %d
socket_set_block
Warning: socket_set_block(): unable to set blocking mode [%d]: An operation was attempted on
something that is not a socket.
@@ -91,13 +91,13 @@ Warning: socket_get_option(): unable to retrieve socket option [%d]: An operatio
close socket
stream_set_blocking
-Warning: stream_set_blocking(): %d is not a valid stream resource in %s on line %d
+Warning: stream_set_blocking(): supplied resource is not a valid stream resource in %s on line %d
socket_set_block
-Warning: socket_set_block(): %d is not a valid Socket resource in %s on line %d
+Warning: socket_set_block(): supplied resource is not a valid Socket resource in %s on line %d
socket_get_option
-Warning: socket_get_option(): %d is not a valid Socket resource in %s on line %d
+Warning: socket_get_option(): supplied resource is not a valid Socket resource in %s on line %d
Done.