Grokbase Groups PHP php-cvs May 2010
FAQ

svn: /php/php-src/trunk/ext/standard/tests/network/ getmxrr.phpt

Martin Jansen
May 25, 2010 at 5:01 am
mj Tue, 25 May 2010 05:01:03 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=299730

Log:
Changed test case to use our new dummy MX records.

Changed paths:
U php/php-src/trunk/ext/standard/tests/network/getmxrr.phpt

Modified: php/php-src/trunk/ext/standard/tests/network/getmxrr.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/network/getmxrr.phpt 2010-05-25 02:16:46 UTC (rev 299729)
+++ php/php-src/trunk/ext/standard/tests/network/getmxrr.phpt 2010-05-25 05:01:03 UTC (rev 299730)
@@ -8,7 +8,7 @@
?>
--FILE--
<?php
-$domains = array( 'php.net', 'lists.php.net' );
+$domains = array( 'mx1.tests.php.net', 'mx2.tests.php.net' );
foreach ( $domains as $domain )
{
if ( getmxrr( $domain, $hosts, $weights ) )
@@ -18,5 +18,5 @@
}
?>
--EXPECT--
+Hosts: 1, weights: 1
Hosts: 2, weights: 2
-Hosts: 1, weights: 1
reply

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›

2 users in discussion

Martin Jansen: 1 post Adam Harvey: 1 post