From 2f2354d5cc4ba18418e2f7d4e5e86bf6ba59a441 Mon Sep 17 00:00:00 2001
From: Ton Voon <tonvoon@users.sourceforge.net>
Date: Wed, 29 Mar 2006 08:13:29 +0000
Subject: 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

diff --git a/plugins/t/check_dns.t b/plugins/t/check_dns.t
index 3874657..6d81b21 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");
 
 plan tests => 13;
 
-my $successOutput = '/DNS OK: [\.0-9]+ seconds response time/';
+my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/';
 
 my $hostname_valid = getTestParameter( 
 			"NP_HOSTNAME_VALID",
-- 
cgit v0.10-9-g596f

