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): |