]> granicus.if.org Git - php/commitdiff
MFB: Fix test (use canonical name, fixes #45493)
authorArnaud Le Blanc <lbarnaud@php.net>
Thu, 14 May 2009 16:16:33 +0000 (16:16 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Thu, 14 May 2009 16:16:33 +0000 (16:16 +0000)
ext/standard/tests/network/gethostbynamel_error.phpt

index 7e58d5ad5b5825e922ba155498311284236e104d..80205e03370d34dad28d2b685ffa7374c28c4adb 100644 (file)
@@ -21,7 +21,7 @@ $extra_arg = 10;
 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";