summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_users.t
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-08-11 23:22:54 +0200
committerGitHub <noreply@github.com>2025-08-11 23:22:54 +0200
commit723e0d3466d85a6ed9811d0661db289e7d9406d9 (patch)
tree4b26f57d9f62c3cb084e063011910efa42fea0f4 /plugins/t/check_users.t
parent2046ae85574c32370facab3c01f2152e56e1e981 (diff)
parent7382fa90f84d38cd2ae08c880e9ed6a4ad644d35 (diff)
downloadmonitoring-plugins-723e0d3466d85a6ed9811d0661db289e7d9406d9.tar.gz
Merge pull request #2107 from RincewindsHat/refactor/check_users
Refactor/check users
Diffstat (limited to 'plugins/t/check_users.t')
-rw-r--r--plugins/t/check_users.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_users.t b/plugins/t/check_users.t
index 21c3e53d..446e0476 100644
--- a/plugins/t/check_users.t
+++ b/plugins/t/check_users.t
@@ -15,8 +15,8 @@ use NPTest;
15use vars qw($tests); 15use vars qw($tests);
16BEGIN {$tests = 12; plan tests => $tests} 16BEGIN {$tests = 12; plan tests => $tests}
17 17
18my $successOutput = '/^USERS OK - [0-9]+ users currently logged in/'; 18my $successOutput = '/[0-9]+ users currently logged in/';
19my $failureOutput = '/^USERS CRITICAL - [0-9]+ users currently logged in/'; 19my $failureOutput = '/[0-9]+ users currently logged in/';
20my $wrongOptionOutput = '/Usage:/'; 20my $wrongOptionOutput = '/Usage:/';
21 21
22my $t; 22my $t;