Construct an absolute path to the archiving control file when running the 
Archiving stage.  Using a relative path was just silly and lazy and prone to 
breakage.

Signed-off-by: Steve Howard <[email protected]>

--- autotest/scheduler/monitor_db.py    2010-01-12 13:48:30.000000000 -0800
+++ autotest/scheduler/monitor_db.py    2010-01-13 12:58:42.000000000 -0800
@@ -2512,7 +2512,8 @@
         return [_autoserv_path , '-p',
                 '--pidfile-label=%s' % self._pidfile_label(), '-r', 
results_dir,
                 '--use-existing-results',
-                os.path.join('..', 'scheduler', 'archive_results.control.srv')]
+                os.path.join(drones.AUTOTEST_INSTALL_DIR, 'scheduler',
+                             'archive_results.control.srv')]
 
 
     @classmethod
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to