Просмотр исходного кода

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
Ton Voon 20 лет назад
Родитель
Сommit
2f2354d5cc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/t/check_dns.t

+ 1 - 1
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",