diff options
Diffstat (limited to 'plugins-scripts/t/check_uptime.t')
-rw-r--r-- | plugins-scripts/t/check_uptime.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/t/check_uptime.t b/plugins-scripts/t/check_uptime.t index 410a0800..4606718a 100644 --- a/plugins-scripts/t/check_uptime.t +++ b/plugins-scripts/t/check_uptime.t | |||
@@ -26,7 +26,7 @@ $result = NPTest->testCmd( | |||
26 | "./check_uptime -w 5 -c 2" | 26 | "./check_uptime -w 5 -c 2" |
27 | ); | 27 | ); |
28 | cmp_ok( $result->return_code, '==', 3, "Warning greater than critical" ); | 28 | cmp_ok( $result->return_code, '==', 3, "Warning greater than critical" ); |
29 | like ( $result->output, '/^Warning .*cannot be greater than Critical/', "Output for warning greater than critical correct" ); | 29 | like ( $result->output, '/^Upper Warning .*cannot be greater than Critical/', "Output for warning greater than critical correct" ); |
30 | 30 | ||
31 | $result = NPTest->testCmd( | 31 | $result = NPTest->testCmd( |
32 | "./check_uptime -c 1000 -W 100 2>&1" | 32 | "./check_uptime -c 1000 -W 100 2>&1" |