Created
March 18, 2012 10:12
-
-
Save nickvergessen/2070332 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static public function setUpBeforeClass() | |
{ | |
$hostname = 'ftp.debian.org.'; | |
self::$ipv4 = gethostbyname($hostname); | |
if (self::$ipv4 == $hostname) | |
{ | |
self::markTestSkipped("Got no A record back from DNS query for $hostname"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment