summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorjadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4>2009-03-03 23:30:59 +0000
committerjadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4>2009-03-03 23:30:59 +0000
commitf80039c9a889673f2d2696ca6dc3bcab945b4b4c (patch)
tree981a04572b5b36af572ed57dfea088ad095aee01 /server
parent6c0ffada5b9a6116d53d2a68bfca79d03c69baf3 (diff)
Fixes a regression; we're not properly setting
the job results dir when executing control files. This messes up multi-machine server jobs that execute client jobs by writing status logs into the wrong place. Risk: Low Visibility: Fixes some seriously broken status.log logging Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@2848 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'server')
-rw-r--r--server/autotest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/autotest.py b/server/autotest.py
index 51e55b4c..6d13bcde 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -499,6 +499,7 @@ class _Run(object):
stdout_read = stderr_read = 0
old_resultdir = self.host.job.resultdir
try:
+ self.host.job.resultdir = self.results_dir
self.host.run(daemon_cmd, ignore_status=True, timeout=timeout)
while True:
monitor_cmd = self.get_monitor_cmd(monitor_dir, stdout_read,