]> granicus.if.org Git - php/commitdiff
MFH: fix tests
authorAntony Dovgal <tony2001@php.net>
Mon, 12 Feb 2007 14:49:05 +0000 (14:49 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 12 Feb 2007 14:49:05 +0000 (14:49 +0000)
ext/sockets/tests/ipv6loop.phpt
ext/standard/tests/file/stream_002.phpt

index 1cd2148633660fb08c876fc04a919b0389c22c58..45d2a05fc06a80661414a73e7a226041af4e9064 100644 (file)
@@ -5,7 +5,7 @@ IPv6 Loopback test
        if (!extension_loaded('sockets')) {
                die('skip sockets extenion not available.');
        }
-       if (!defined(AF_INET6)) {
+       if (!defined("AF_INET6")) {
                die('skip no IPv6 support');
        }
 ?>
index ae10abf2d6e551f940bd5bea6bcb139e35faaa7e..e982f704c4f7ab817b67675f2ec6a9b483bcc6c2 100644 (file)
@@ -31,10 +31,10 @@ bool(false)
 int(0)
 string(27) "Failed to parse address "[""
 
-Warning: stream_socket_client(): unable to connect to [  (Failed to parse IPv6 address "[ ") in %s on line %d
+Warning: stream_socket_client(): unable to connect to [  (Failed to parse%saddress "[ ") in %s on line %d
 bool(false)
 int(0)
-string(33) "Failed to parse IPv6 address "[ ""
+string(%d) "Failed to parse%saddress "[ ""
 
 Warning: stream_socket_client(): unable to connect to . (Failed to parse address ".") in %s on line %d
 bool(false)