Code

Enhanced test for single letters in fqdn
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 12 Dec 2006 12:59:06 +0000 (12:59 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 12 Dec 2006 12:59:06 +0000 (12:59 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c

plugins-scripts/t/utils.t

index 4df5606b76d3497a276be8ac0f3bb0b7e82d5d14..f37f567fb011c154e9ce56d938d580fc876ea618 100644 (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);