Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: client/bin/site_sysinfo.py

Issue 3257003: Cleanups to test updater code. Handle service restart better, copy update-engine logs after tests. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: revert update if statefuldev fails Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/bin/chromeos_constants.py ('k') | client/common_lib/chromiumos_updater.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/bin/site_sysinfo.py
diff --git a/client/bin/site_sysinfo.py b/client/bin/site_sysinfo.py
index cff8098fb7cdc2bcc65c93630b06cdd377f4da8a..ab90d8adca8d250579299217e06d06a1b406ec54 100755
--- a/client/bin/site_sysinfo.py
+++ b/client/bin/site_sysinfo.py
@@ -2,6 +2,7 @@ import os, shutil, re
from autotest_lib.client.common_lib import utils
from autotest_lib.client.bin import base_sysinfo
+from autotest_lib.client.bin import chromeos_constants
logfile = base_sysinfo.logfile
@@ -15,6 +16,7 @@ class site_sysinfo(base_sysinfo.base_sysinfo):
# add in some extra command logging
self.test_loggables.add(command(
"ls -l /boot", "boot_file_list"))
+ self.test_loggables.add(logfile(chromeos_constants.UPDATE_ENGINE_LOG))
def log_test_keyvals(self, test_sysinfodir):
« no previous file with comments | « client/bin/chromeos_constants.py ('k') | client/common_lib/chromiumos_updater.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698