4
0
Эх сурвалжийг харах

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
Ton Voon 19 жил өмнө
parent
commit
287cd311a2

+ 2 - 0
plugins-scripts/t/utils.t

@@ -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);