[Nagiosplug-checkins] nagiosplug/plugins/t check_dns.t,1.6,1.7

Ton Voon tonvoon at users.sourceforge.net
Wed Mar 29 00:14:03 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30082

Modified Files:
	check_dns.t 
Log Message:
Fix test if response time is one second


Index: check_dns.t
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/t/check_dns.t,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- check_dns.t	24 Mar 2006 17:26:30 -0000	1.6
+++ check_dns.t	29 Mar 2006 08:13:29 -0000	1.7
@@ -13,7 +13,7 @@
 
 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",





More information about the Commits mailing list