Skip to content

Commit 67e1f23

Browse files
committed
Make gethostbyname() test more liberal
This returns 127.0.1.1 on travis bionic.
1 parent fc8cfb1 commit 67e1f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/tests/network/gethostbyname_basic003.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ echo "*** Testing gethostbyname() : basic functionality ***\n";
66

77
echo gethostbyname("localhost")."\n";
88
?>
9-
--EXPECT--
9+
--EXPECTF--
1010
*** Testing gethostbyname() : basic functionality ***
11-
127.0.0.1
11+
127.0.%d.1

0 commit comments

Comments
 (0)