summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-12-12 12:59:06 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2006-12-12 12:59:06 (GMT)
commit287cd311a2ba9693f59e40ed8305cc54fbb06788 (patch)
tree243b7291b563905f5a3db9a25570741896163bcb /plugins-scripts
parentfc6caed01ca286e40d0177d68aae5497c52bf61d (diff)
downloadmonitoring-plugins-287cd311a2ba9693f59e40ed8305cc54fbb06788.tar.gz
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
Diffstat (limited to 'plugins-scripts')
-rw-r--r--plugins-scripts/t/utils.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins-scripts/t/utils.t b/plugins-scripts/t/utils.t
index 4df5606..f37f567 100644
--- a/plugins-scripts/t/utils.t
+++ b/plugins-scripts/t/utils.t
@@ -35,6 +35,8 @@ my $hostname_checks = {
35 "host.888." => 1, 35 "host.888." => 1,
36 "where.did.that.!.come.from." => 0, 36 "where.did.that.!.come.from." => 0,
37 "no.underscores_.com" => 0, 37 "no.underscores_.com" => 0,
38 "a.somecompany.com" => 1,
39 "host.a.com" => 1,
38 }; 40 };
39 41
40plan tests => ((scalar keys %$hostname_checks) + 4); 42plan tests => ((scalar keys %$hostname_checks) + 4);