From 287cd311a2ba9693f59e40ed8305cc54fbb06788 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 12 Dec 2006 12:59:06 +0000 Subject: 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 --- plugins-scripts/t/utils.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins-scripts/t') diff --git a/plugins-scripts/t/utils.t b/plugins-scripts/t/utils.t index 4df5606b..f37f567f 100644 --- a/plugins-scripts/t/utils.t +++ b/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); -- cgit v1.2.3-74-g34f1