summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/t/check_uptime.t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/t/check_uptime.t')
-rw-r--r--plugins-scripts/t/check_uptime.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/t/check_uptime.t b/plugins-scripts/t/check_uptime.t
index 410a080..4606718 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 );
28cmp_ok( $result->return_code, '==', 3, "Warning greater than critical" ); 28cmp_ok( $result->return_code, '==', 3, "Warning greater than critical" );
29like ( $result->output, '/^Warning .*cannot be greater than Critical/', "Output for warning greater than critical correct" ); 29like ( $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"