From 4783f336fc646647700ff7ce9afd729ab6f83ee6 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 1 Aug 2014 13:40:47 +0200 Subject: [PATCH] fix tests --- tests/001.phpt | 19 ++++++++++--------- tests/002.phpt | 48 ++++++++---------------------------------------- tests/003.phpt | 19 ++----------------- 3 files changed, 20 insertions(+), 66 deletions(-) diff --git a/tests/001.phpt b/tests/001.phpt index 9036fda..cbaaf03 100644 --- a/tests/001.phpt +++ b/tests/001.phpt @@ -1,7 +1,7 @@ --TEST-- ares --SKIPIF-- - + --FILE-- 0 [2] => stdClass Object ( - [name] => php.net + [name] => a.resolvers.Level3.net [aliases] => Array ( ) @@ -39,7 +39,7 @@ Array [addrtype] => 2 [addrlist] => Array ( - [0] => 66.163.161.117 + [0] => 4.2.2.1 ) ) @@ -51,15 +51,16 @@ Array [1] => 0 [2] => stdClass Object ( - [name] => y2.php.net + [name] => b.resolvers.Level3.net [aliases] => Array ( + [0] => b.resolvers.Level3.net ) [addrtype] => 2 [addrlist] => Array ( - [0] => 66.163.161.117 + [0] => 4.2.2.2 ) ) @@ -69,7 +70,7 @@ Array ( [0] => Resource id #%d [1] => 0 - [2] => y2.php.net + [2] => c.resolvers.level3.net [3] => ) Done diff --git a/tests/002.phpt b/tests/002.phpt index baf8aed..766d84a 100644 --- a/tests/002.phpt +++ b/tests/002.phpt @@ -1,7 +1,7 @@ --TEST-- ares --SKIPIF-- - + --FILE-- gd.tuwien.ac.at + [name] => %s [aliases] => Array ( - [0] => at.php.net ) [addrtype] => 2 [addrlist] => Array ( - [0] => 192.35.244.50 + %a ) ) stdClass Object ( - [name] => php3.globe.de + [name] => %s [aliases] => Array ( - [0] => de.php.net ) [addrtype] => 2 [addrlist] => Array ( - [0] => 212.124.37.9 + %a ) ) stdClass Object ( - [name] => php.networkedsystems.co.uk + [name] => %s [aliases] => Array ( - [0] => uk.php.net ) [addrtype] => 2 [addrlist] => Array ( - [0] => 85.116.4.7 - ) - -) -stdClass Object -( - [name] => ch.php.net - [aliases] => Array - ( - ) - - [addrtype] => 2 - [addrlist] => Array - ( - [0] => 128.178.77.24 - ) - -) -stdClass Object -( - [name] => php.directnet.ru - [aliases] => Array - ( - [0] => ru.php.net - ) - - [addrtype] => 2 - [addrlist] => Array - ( - [0] => 195.222.164.18 + %a ) ) diff --git a/tests/003.phpt b/tests/003.phpt index f079842..92a9046 100644 --- a/tests/003.phpt +++ b/tests/003.phpt @@ -1,7 +1,7 @@ --TEST-- ares --SKIPIF-- - + --FILE-- [getnameinfo] => ) -stdClass Object -( - [type] => 3 - [search] => - [query] => - [send] => - [gethostbyname] => stdClass Object - ( - [name] => ru.php.net - [family] => 2 - ) - - [gethostbyaddr] => - [getnameinfo] => -) Done -- 2.30.2