Browse Source

fix tests

PHP-5.2.1RC1
Antony Dovgal 19 years ago
parent
commit
83a3d76e37
  1. 2
      ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt
  2. 8
      ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt
  3. 8
      ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt
  4. 6
      ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt
  5. 8
      ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt

2
ext/standard/tests/streams/stream_get_meta_data_socket_basic.phpt

@ -11,7 +11,7 @@ fclose($tcp_socket);
--EXPECT--
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>

8
ext/standard/tests/streams/stream_get_meta_data_socket_variation1.phpt

@ -37,7 +37,7 @@ var_dump(stream_get_meta_data($client));
Write some data:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -56,7 +56,7 @@ array(7) {
Read a line from the client, causing data to be buffered:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -75,7 +75,7 @@ array(7) {
Read 3 bytes of data from the client:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -94,7 +94,7 @@ array(7) {
Close the server side socket and read the remaining data from the client:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>

8
ext/standard/tests/streams/stream_get_meta_data_socket_variation2.phpt

@ -35,7 +35,7 @@ fclose($server);
--EXPECT--
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -54,7 +54,7 @@ array(7) {
Set a timeout on the client and attempt a read:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -73,7 +73,7 @@ array(7) {
Write some data from the server:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -92,7 +92,7 @@ array(7) {
Read some data from the client:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>

6
ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt

@ -30,7 +30,7 @@ fclose($server);
--EXPECT--
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -50,7 +50,7 @@ Set blocking to false:
bool(true)
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -70,7 +70,7 @@ Set blocking to true:
bool(true)
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>

8
ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt

@ -35,7 +35,7 @@ fclose($client);
Write some data:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -54,7 +54,7 @@ array(7) {
Read a line from the client:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -73,7 +73,7 @@ array(7) {
Close the server side socket and read the remaining data from the client:
array(7) {
["stream_type"]=>
string(10) "tcp_socket"
string(%d) "tcp_socke%s"
["mode"]=>
string(2) "r+"
["unread_bytes"]=>
@ -86,4 +86,4 @@ array(7) {
bool(true)
["eof"]=>
bool(true)
}
}
Loading…
Cancel
Save