diff options
author | Napsty <ck@claudiokuenzler.com> | 2024-04-12 13:28:45 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2024-04-12 16:50:15 +0200 |
commit | 60614121d120b727831fa4201c277e626acb4057 (patch) | |
tree | 9c9d71d2b41101404fd8ade088a2fedbd8427c58 | |
parent | 675f208476628af192d1fdee9eeedcc76fbc8d43 (diff) | |
download | monitoring-plugins-60614121d120b727831fa4201c277e626acb4057.tar.gz |
Adjust check_swap tests
-rw-r--r-- | plugins/t/check_swap.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_swap.t b/plugins/t/check_swap.t index f40d9ef6..f58c4120 100644 --- a/plugins/t/check_swap.t +++ b/plugins/t/check_swap.t | |||
@@ -40,4 +40,4 @@ like( $result->output, $warnOutput, "Right output" ); | |||
40 | 40 | ||
41 | $result = NPTest->testCmd( "./check_swap -c 100%" ); # 100% (single threshold, always critical) | 41 | $result = NPTest->testCmd( "./check_swap -c 100%" ); # 100% (single threshold, always critical) |
42 | cmp_ok( $result->return_code, "==", 2, 'Get critical because not 100% free' ); | 42 | cmp_ok( $result->return_code, "==", 2, 'Get critical because not 100% free' ); |
43 | like( $result->output, $warnOutput, "Right output" ); | 43 | like( $result->output, $failureOutput, "Right output" ); |