Reboot status is (again) logged, this time more cleanly through the use
of job.record.
From: John Admanski <jadmanski@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@901 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/server_job.py b/server/server_job.py
index 197d503..cd37c8d 100755
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -31,6 +31,7 @@
from subcommand import *
from utils import run, get_tmp_dir, sh_escape
+hosts.SSHHost.job = job
"""
client_wrapper = """
@@ -291,7 +292,7 @@
msg = '%s\t%s\t%s\t%s' %(status_code, substr, operation, status)
- status_file = os.path.join(self.resultdir, 'status')
+ status_file = os.path.join(self.resultdir, 'status.log')
print msg
open(status_file, "a").write(self.record_prefix + msg + "\n")
if subdir: