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

Unified Diff: client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py

Issue 5740004: Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 10 years 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
Index: client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py
diff --git a/client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py b/client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py
index 79d88bce7ddb90715347b82c92fd96451644defb..1d66d5c21079095701f7364b6ec71da397ddcbac 100644
--- a/client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py
+++ b/client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py
@@ -3,9 +3,8 @@
# found in the LICENSE file.
import logging, os, time
-from autotest_lib.client.bin import site_log_reader, test
from autotest_lib.client.common_lib import error, utils
-from autotest_lib.client.cros import ui_test
+from autotest_lib.client.cros import log_reader, ui_test
_CRASH_PATH = '/sbin/crash_reporter'
_PENDING_SHUTDOWN_PATH = '/var/lib/crash_reporter/pending_clean_shutdown'
@@ -22,7 +21,7 @@ class logging_UncleanShutdown(ui_test.UITest):
raise error.TestFail('pending shutdown file, %s, not found' %
_PENDING_SHUTDOWN_PATH)
- log_reader = site_log_reader.LogReader()
+ log_reader = log_reader.LogReader()
log_reader.set_start_by_reboot(-1)
if log_reader.can_find(_UNCLEAN_SHUTDOWN_MESSAGE):

Powered by Google App Engine
This is Rietveld 408576698