Code

Fix test if response time is one second
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 29 Mar 2006 08:13:29 +0000 (08:13 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 29 Mar 2006 08:13:29 +0000 (08:13 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1361 f882894a-f735-0410-b71e-b25c423dba1c

plugins/t/check_dns.t

index 3874657c47ca3ee03790b0b13eab84636a0011bc..6d81b21ce42a7ce009fb5528f57324fc0b9e3ddd 100644 (file)
@@ -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",