summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-04 12:59:42 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-04 14:18:58 +0200
commit67e1f2399980a6e891822329d544338ccfbf6848 (patch)
tree527fbd00409ed496e4e24da138c1e990a05cbe7e /ext
parentfc8cfb1b1a4dd477a2e45623c96360419254e6fb (diff)
downloadphp-git-67e1f2399980a6e891822329d544338ccfbf6848.tar.gz
Make gethostbyname() test more liberal
This returns 127.0.1.1 on travis bionic.
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/network/gethostbyname_basic003.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/network/gethostbyname_basic003.phpt b/ext/standard/tests/network/gethostbyname_basic003.phpt
index eb7f5c33c5..e86a4e92bb 100644
--- a/ext/standard/tests/network/gethostbyname_basic003.phpt
+++ b/ext/standard/tests/network/gethostbyname_basic003.phpt
@@ -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