diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-29 08:13:29 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-29 08:13:29 +0000 |
commit | 2f2354d5cc4ba18418e2f7d4e5e86bf6ba59a441 (patch) | |
tree | c061aacd0332ed4f729ffec0536b36f8e876b31e /plugins | |
parent | 32ef29ef199b28e820f68db63866f64c8d53e97b (diff) | |
download | monitoring-plugins-2f2354d5cc4ba18418e2f7d4e5e86bf6ba59a441.tar.gz |
Fix test if response time is one second
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1361 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/t/check_dns.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_dns.t b/plugins/t/check_dns.t index 3874657c..6d81b21c 100644 --- a/plugins/t/check_dns.t +++ b/plugins/t/check_dns.t | |||
@@ -13,7 +13,7 @@ plan skip_all => "check_dns not compiled" unless (-x "check_dns"); | |||
13 | 13 | ||
14 | plan tests => 13; | 14 | plan tests => 13; |
15 | 15 | ||
16 | my $successOutput = '/DNS OK: [\.0-9]+ seconds response time/'; | 16 | my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/'; |
17 | 17 | ||
18 | my $hostname_valid = getTestParameter( | 18 | my $hostname_valid = getTestParameter( |
19 | "NP_HOSTNAME_VALID", | 19 | "NP_HOSTNAME_VALID", |