Skip to content

Commit 8a21d62

Browse files
authored
Update SKIPIF for bug #67563 (#20133)
1 parent 26f9893 commit 8a21d62

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

ext/mysqli/tests/bug67563.phpt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ mysqli
66
<?php
77
require_once 'connect.inc';
88

9-
if ($host !== '127.0.0.1')
10-
die('skip local test');
11-
129
if (@stream_socket_client('udp://[::1]:8888') === false)
13-
die('skip no IPv6 support 2');
10+
die('skip no IPv6 support');
1411

15-
if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
16-
die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
17-
$host, $user, $db, $port, $socket));
12+
if (!$link = @my_mysqli_connect('[::1]', $user, $passwd, $db, $port, $socket)) {
13+
die(sprintf("SKIP Cannot connect to the server using host=[::1], user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
14+
$user, $db, $port, $socket));
1815
}
1916
?>
2017
--INI--

0 commit comments

Comments
 (0)