From 60614121d120b727831fa4201c277e626acb4057 Mon Sep 17 00:00:00 2001 From: Napsty Date: Fri, 12 Apr 2024 13:28:45 +0200 Subject: Adjust check_swap tests diff --git a/plugins/t/check_swap.t b/plugins/t/check_swap.t index f40d9ef..f58c412 100644 --- a/plugins/t/check_swap.t +++ b/plugins/t/check_swap.t @@ -40,4 +40,4 @@ like( $result->output, $warnOutput, "Right output" ); $result = NPTest->testCmd( "./check_swap -c 100%" ); # 100% (single threshold, always critical) cmp_ok( $result->return_code, "==", 2, 'Get critical because not 100% free' ); -like( $result->output, $warnOutput, "Right output" ); +like( $result->output, $failureOutput, "Right output" ); -- cgit v0.10-9-g596f