summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
authorNapsty <ck@claudiokuenzler.com>2024-04-12 13:28:45 +0200
committerSven Nierlein <sven@nierlein.org>2024-04-12 16:50:15 +0200
commit60614121d120b727831fa4201c277e626acb4057 (patch)
tree9c9d71d2b41101404fd8ade088a2fedbd8427c58 /plugins/t
parent675f208476628af192d1fdee9eeedcc76fbc8d43 (diff)
downloadmonitoring-plugins-60614121d120b727831fa4201c277e626acb4057.tar.gz
Adjust check_swap tests
Diffstat (limited to 'plugins/t')
-rw-r--r--plugins/t/check_swap.t2
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)
42cmp_ok( $result->return_code, "==", 2, 'Get critical because not 100% free' ); 42cmp_ok( $result->return_code, "==", 2, 'Get critical because not 100% free' );
43like( $result->output, $warnOutput, "Right output" ); 43like( $result->output, $failureOutput, "Right output" );