diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-12 22:16:57 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-12 22:16:57 +0100 |
commit | 270d643d1155afd83a5c699c2e6721a4dea2c5ae (patch) | |
tree | 92c361862cf97ff4911e95c975d2fbf683ebc2c1 | |
parent | 5a79cd31c48307d18a637271f4a0a13327fd3073 (diff) | |
download | monitoring-plugins-270d643d.tar.gz |
Adapt tests
-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; |