Skip to content

Commit

Permalink
Make gethostbyname() test more liberal
Browse files Browse the repository at this point in the history
This returns 127.0.1.1 on travis bionic.
  • Loading branch information
nikic committed Sep 4, 2020
1 parent fc8cfb1 commit 67e1f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/standard/tests/network/gethostbyname_basic003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ echo "*** Testing gethostbyname() : basic functionality ***\n";

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

0 comments on commit 67e1f23

Please sign in to comment.