diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-21 02:48:05 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-21 02:48:05 (GMT) |
commit | 948cf21aaeb341687105dc4b050378b796bd4afc (patch) | |
tree | ea46a1cc5853b305fc25f4d3b0aa195d13df9b48 /plugins | |
parent | 1f12b2329dbc1d776ae05aae48f5277e3d1885be (diff) | |
download | monitoring-plugins-948cf21aaeb341687105dc4b050378b796bd4afc.tar.gz |
Trick for check_users test without users logged-in
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/t/check_users.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/t/check_users.t b/plugins/t/check_users.t index cf7fac9..39044bb 100644 --- a/plugins/t/check_users.t +++ b/plugins/t/check_users.t | |||
@@ -2,7 +2,11 @@ | |||
2 | # | 2 | # |
3 | # Logged in Users Tests via check_users | 3 | # Logged in Users Tests via check_users |
4 | # | 4 | # |
5 | # Trick: This ckeck requires at least 1 user logged in. These commands should | ||
6 | # leave a session open forever in the background: | ||
5 | # | 7 | # |
8 | # $ ssh -tt localhost </dev/null >/dev/null 2>/dev/null & | ||
9 | # $ disown %1 | ||
6 | 10 | ||
7 | use strict; | 11 | use strict; |
8 | use Test; | 12 | use Test; |