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

Unified Diff: client/bin/site_ui_test.py

Issue 3448023: autotest: Stash away cryptohomed.log to help diagnose login issues (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 3 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/bin/site_ui_test.py
diff --git a/client/bin/site_ui_test.py b/client/bin/site_ui_test.py
index de60bad9e57b8557d9c002a843d713d5ab742809..df07a2128b1d660a9c25ade08a422e448bd798de 100644
--- a/client/bin/site_ui_test.py
+++ b/client/bin/site_ui_test.py
@@ -258,6 +258,11 @@ class UITest(bin_test.test):
logging.error(error)
self.logout()
+ if os.path.isfile(chromeos_constants.CRYPTOHOMED_LOG):
+ base = os.path.basename(chromeos_constants.CRYPTOHOMED_LOG)
truty1 2010/09/24 00:27:28 should this be in a try block with a logging error
+ shutil.copy(chromeos_constants.CRYPTOHOMED_LOG,
+ os.path.join(self.resultsdir, base))
+
self.stop_authserver()
« no previous file with comments | « client/bin/chromeos_constants.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698