summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_load.t
diff options
context:
space:
mode:
authorHarald Jenny <haraldj@users.noreply.github.com>2021-07-05 10:30:39 +0200
committerSven Nierlein <sven@nierlein.org>2021-10-25 16:28:15 +0200
commite79ada81a696e3c826b383e3ff7cbc8f91bf46a4 (patch)
tree55353962a7e8a146ef4583415d9e6ff0bf68a0e3 /plugins/t/check_load.t
parenta08215368e5f9dc0164fcce9f5591c5310fdeb8c (diff)
downloadmonitoring-plugins-e79ada81a696e3c826b383e3ff7cbc8f91bf46a4.tar.gz
Update check_load.t
adjust tests for new plugin output
Diffstat (limited to 'plugins/t/check_load.t')
-rw-r--r--plugins/t/check_load.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_load.t b/plugins/t/check_load.t
index 55f6f752..60837ef6 100644
--- a/plugins/t/check_load.t
+++ b/plugins/t/check_load.t
@@ -11,8 +11,8 @@ use NPTest;
11my $res; 11my $res;
12 12
13my $loadValue = "[0-9]+\.?[0-9]+"; 13my $loadValue = "[0-9]+\.?[0-9]+";
14my $successOutput = "/^OK - load average: $loadValue, $loadValue, $loadValue/"; 14my $successOutput = "/^LOAD OK - load average: $loadValue, $loadValue, $loadValue/";
15my $failureOutput = "/^CRITICAL - load average: $loadValue, $loadValue, $loadValue/"; 15my $failureOutput = "/^LOAD CRITICAL - load average: $loadValue, $loadValue, $loadValue/";
16 16
17plan tests => 11; 17plan tests => 11;
18 18