diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 23:22:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-11 23:22:54 +0200 |
commit | 723e0d3466d85a6ed9811d0661db289e7d9406d9 (patch) | |
tree | 4b26f57d9f62c3cb084e063011910efa42fea0f4 /plugins/t/check_users.t | |
parent | 2046ae85574c32370facab3c01f2152e56e1e981 (diff) | |
parent | 7382fa90f84d38cd2ae08c880e9ed6a4ad644d35 (diff) | |
download | monitoring-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.t | 4 |
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; | |||
15 | use vars qw($tests); | 15 | use vars qw($tests); |
16 | BEGIN {$tests = 12; plan tests => $tests} | 16 | BEGIN {$tests = 12; plan tests => $tests} |
17 | 17 | ||
18 | my $successOutput = '/^USERS OK - [0-9]+ users currently logged in/'; | 18 | my $successOutput = '/[0-9]+ users currently logged in/'; |
19 | my $failureOutput = '/^USERS CRITICAL - [0-9]+ users currently logged in/'; | 19 | my $failureOutput = '/[0-9]+ users currently logged in/'; |
20 | my $wrongOptionOutput = '/Usage:/'; | 20 | my $wrongOptionOutput = '/Usage:/'; |
21 | 21 | ||
22 | my $t; | 22 | my $t; |