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

Side by Side Diff: client/site_tests/logging_CrashServices/logging_CrashServices.py

Issue 5519008: Create a cros directory under client, and start moving things into it. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/cros/constants.py ('k') | client/site_tests/login_Backdoor/login_Backdoor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging, os, os.path, signal, time 5 import logging, os, os.path, signal, time
6 from autotest_lib.client.bin import chromeos_constants, site_crash_test 6 from autotest_lib.client.bin import site_crash_test
7 from autotest_lib.client.bin import site_log_reader, site_login, site_utils 7 from autotest_lib.client.bin import site_log_reader, site_login, site_utils
8 from autotest_lib.client.common_lib import utils, error 8 from autotest_lib.client.common_lib import utils, error
9 from autotest_lib.client.cros import constants as chromeos_constants
9 10
10 class logging_CrashServices(site_crash_test.CrashTest): 11 class logging_CrashServices(site_crash_test.CrashTest):
11 version = 1 12 version = 1
12 13
13 process_list = ["/usr/sbin/acpid", 14 process_list = ["/usr/sbin/acpid",
14 "/sbin/agetty", 15 "/sbin/agetty",
15 "/usr/sbin/cashewd", 16 "/usr/sbin/cashewd",
16 "/opt/google/chrome/chrome", 17 "/opt/google/chrome/chrome",
17 "/usr/bin/chromeos-wm", 18 "/usr/bin/chromeos-wm",
18 "/usr/sbin/console-kit-daemon", 19 "/usr/sbin/console-kit-daemon",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 for process_path in self.process_list: 111 for process_path in self.process_list:
111 self.job.run_test("logging_CrashServices", 112 self.job.run_test("logging_CrashServices",
112 process_path=process_path, 113 process_path=process_path,
113 tag=os.path.basename(process_path)) 114 tag=os.path.basename(process_path))
114 115
115 # killing session manager logs out, so this will probably fail 116 # killing session manager logs out, so this will probably fail
116 try: 117 try:
117 site_login.attempt_logout() 118 site_login.attempt_logout()
118 except site_login.UnexpectedCondition: 119 except site_login.UnexpectedCondition:
119 pass 120 pass
OLDNEW
« no previous file with comments | « client/cros/constants.py ('k') | client/site_tests/login_Backdoor/login_Backdoor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698