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

Fixed test (Mathew Ericson - 738609)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@521 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 23 лет назад
Родитель
Сommit
fb54f25741
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/t/check_ftp.t

+ 1 - 1
plugins/t/check_ftp.t

@@ -16,7 +16,7 @@ $cmd = "./check_ftp $Cache::hostname -wt 300 -ct 600";
 $str = `$cmd`;
 $t += ok $?>>8,0;
 print "Test was: $cmd\n" if ($?);
-$t += ok $str, '/FTP ok - [0-9]+ second response time/';
+$t += ok $str, '/FTP OK -\s+[0-9]?\.?[0-9]+ second response time/';
 
 #$cmd = "./check_ftp $Cache::noserver -wt 0 -ct 0";
 #$str = `$cmd`;