diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-12-12 12:59:06 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-12-12 12:59:06 +0000 |
commit | 287cd311a2ba9693f59e40ed8305cc54fbb06788 (patch) | |
tree | 243b7291b563905f5a3db9a25570741896163bcb /plugins-scripts | |
parent | fc6caed01ca286e40d0177d68aae5497c52bf61d (diff) | |
download | monitoring-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.t | 2 |
1 files changed, 2 insertions, 0 deletions
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 = { | |||
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 | ||
40 | plan tests => ((scalar keys %$hostname_checks) + 4); | 42 | plan tests => ((scalar keys %$hostname_checks) + 4); |