Przeglądaj źródła

Merge pull request #768 from tsadpbb/add-spaces-check-file-age-t

Add spaces to regex of check_file_age.t
dylan-at-nagios 1 rok temu
rodzic
commit
15ca0e0519
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      plugins-scripts/t/check_file_age.t

+ 1 - 1
plugins-scripts/t/check_file_age.t

@@ -12,7 +12,7 @@ my $successOutput = '/^FILE_AGE OK: /';
 my $warningOutput = '/^FILE_AGE WARNING: /';
 my $criticalOutput = '/^FILE_AGE CRITICAL: /';
 my $unknownOutput = '/^FILE_AGE UNKNOWN: /';
-my $performanceOutput = '/ \| age=[0-9]+s;[0-9]+;[0-9]+ size=[0-9]+B;[0-9]+;[0-9]+;0$/';
+my $performanceOutput = '/ \| age=[0-9]+s;[0-9]+;[0-9]+ size=[0-9]+B;[0-9]+;[0-9]+;0  $/';
 
 my $result;
 my $temp_file = "/tmp/check_file_age.tmp";