Adds a diagnostic message.

Signed-off-by: Gregory Smith <[email protected]>

--- autotest/scheduler/monitor_db.py    2010-08-09 10:24:25.000000000 -0700
+++ autotest/scheduler/monitor_db.py    2010-08-09 10:24:25.000000000 -0700
@@ -135,6 +135,9 @@
     # sudo to launch us as the appropriate user).
     os.chdir(RESULTS_DIR)
 
+    # This is helpful for debugging why stuff a scheduler launches is
+    # misbehaving.
+    logging.info('os.environ: %s', os.environ)
 
     if options.test:
         global _autoserv_path
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to