diff options
author | Björn Berg <32747776+MisterMountain@users.noreply.github.com> | 2023-05-02 09:31:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 09:31:32 +0200 |
commit | e14f1ad7c35504b97f81b1b33a5533e57c605fc2 (patch) | |
tree | a59d292d928c123ad862776f344918035466c817 /plugins/t/check_nagios.t | |
parent | 3dc677e4f1f990e7b26bc714a02608070379cf85 (diff) | |
parent | a4be133f01a231dc45c98aabed35f96d6f826fd7 (diff) | |
download | monitoring-plugins-e14f1ad.tar.gz |
Merge branch 'monitoring-plugins:master' into fix_version_return_code
Diffstat (limited to 'plugins/t/check_nagios.t')
-rw-r--r-- | plugins/t/check_nagios.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_nagios.t b/plugins/t/check_nagios.t index 81fc24d8..f38f5e9c 100644 --- a/plugins/t/check_nagios.t +++ b/plugins/t/check_nagios.t | |||
@@ -36,7 +36,7 @@ cmp_ok( $result->return_code, '==', 1, "Log over 5 minutes old" ); | |||
36 | like ( $result->output, $warningOutput, "Output for warning correct" ); | 36 | like ( $result->output, $warningOutput, "Output for warning correct" ); |
37 | 37 | ||
38 | my $now = time; | 38 | my $now = time; |
39 | # This substitution is dependant on the testcase | 39 | # This substitution is dependent on the testcase |
40 | system( "perl -pe 's/1133537544/$now/' $nagios1 > $nagios1.tmp" ) == 0 or die "Problem with munging $nagios1"; | 40 | system( "perl -pe 's/1133537544/$now/' $nagios1 > $nagios1.tmp" ) == 0 or die "Problem with munging $nagios1"; |
41 | 41 | ||
42 | $result = NPTest->testCmd( | 42 | $result = NPTest->testCmd( |