[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2134] nagiosplug/trunk/plugins/t/check_users.t

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Wed Jan 21 04:03:43 CET 2009


Revision: 2134
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2134&view=rev
Author:   dermoth
Date:     2009-01-21 03:03:42 +0000 (Wed, 21 Jan 2009)

Log Message:
-----------
Trick for check_users test without users logged-in

From: Thomas Guyot-Sionnest <dermoth at aei.ca>

Modified Paths:
--------------
    nagiosplug/trunk/plugins/t/check_users.t

Modified: nagiosplug/trunk/plugins/t/check_users.t
===================================================================
--- nagiosplug/trunk/plugins/t/check_users.t	2009-01-19 07:25:56 UTC (rev 2133)
+++ nagiosplug/trunk/plugins/t/check_users.t	2009-01-21 03:03:42 UTC (rev 2134)
@@ -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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list