cvs: php-src(PHP_5_2) /ext/standard/tests/network gethostbynamel_error.phpt
| From: | Arnaud Le Blanc | Date: | Thu, 14 May 2009 16:16:33 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/network gethostbynamel_error.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57819@lists.php.net to get a copy of this message | ||
lbarnaud Thu May 14 16:16:33 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/network gethostbynamel_error.phpt
Log:
MFB: Fix test (use canonical name, fixes #45493)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/network/gethostbynamel_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/network/gethostbynamel_error.phpt
diff -u php-src/ext/standard/tests/network/gethostbynamel_error.phpt:1.1.2.2
php-src/ext/standard/tests/network/gethostbynamel_error.phpt:1.1.2.3
--- php-src/ext/standard/tests/network/gethostbynamel_error.phpt:1.1.2.2 Wed Mar 26 18:18:07 2008
+++ php-src/ext/standard/tests/network/gethostbynamel_error.phpt Thu May 14 16:16:33 2009
@@ -21,7 +21,7 @@
var_dump( gethostbynamel($hostname, $extra_arg) );
echo "\n-- Testing gethostbynamel() with an unknown host --\n";
-$hostname = 'unknownhost_zzz_xxx_yyy';
+$hostname = 'unknownhost_zzz_xxx_yyy.';
var_dump( gethostbynamel($hostname) );
echo "Done";