Enhanced test for single letters in fqdn

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
Ton Voon 2006-12-12 12:59:06 +00:00
parent fc6caed01c
commit 287cd311a2

View file

@ -35,6 +35,8 @@ my $hostname_checks = {
"host.888." => 1,
"where.did.that.!.come.from." => 0,
"no.underscores_.com" => 0,
"a.somecompany.com" => 1,
"host.a.com" => 1,
};
plan tests => ((scalar keys %$hostname_checks) + 4);