diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-20 21:48:05 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-20 21:48:05 -0500 |
commit | 948cf21aaeb341687105dc4b050378b796bd4afc (patch) | |
tree | ea46a1cc5853b305fc25f4d3b0aa195d13df9b48 /plugins/t | |
parent | 1f12b2329dbc1d776ae05aae48f5277e3d1885be (diff) | |
download | monitoring-plugins-948cf21aaeb341687105dc4b050378b796bd4afc.tar.gz |
Trick for check_users test without users logged-in
Diffstat (limited to 'plugins/t')
-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 cf7fac92..39044bb5 100644 --- a/plugins/t/check_users.t +++ b/plugins/t/check_users.t @@ -2,7 +2,11 @@ # # Logged in Users Tests via check_users # +# Trick: This ckeck requires at least 1 user logged in. These commands should +# leave a session open forever in the background: # +# $ ssh -tt localhost </dev/null >/dev/null 2>/dev/null & +# $ disown %1 use strict; use Test; |