OLD | NEW |
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 AUTHOR = "Chrome OS Team" | 5 AUTHOR = "Chrome OS Team" |
6 NAME = "KernelCrashServer" | 6 NAME = "KernelCrashServer" |
7 TIME = "SHORT" | 7 TIME = "SHORT" |
8 TEST_CATEGORY = "Functional" | 8 TEST_CATEGORY = "Functional" |
9 TEST_CLASS = "logging" | 9 TEST_CLASS = "logging" |
10 TEST_TYPE = "server" | 10 TEST_TYPE = "server" |
11 | 11 |
12 DOC = """ | 12 DOC = """ |
13 Test that kernel space crashes (really just unclean shutdowns) are | 13 Test that kernel space crashes (really just unclean shutdowns) are |
14 detected and handled appropriately. | 14 detected and handled appropriately. |
15 """ | 15 """ |
16 | 16 |
17 # This must be a server side file because it expects the kernel | 17 # This must be a server side file because it expects the kernel |
18 # has been recently reset - specifically it assumes the kernel | 18 # has been recently reset - specifically it assumes the kernel |
19 # has been reset since it was last run. | 19 # has been reset since it was last run. |
20 | 20 |
21 client = hosts.create_host(machines[0]) | 21 client = hosts.create_host(machines[0]) |
22 client_at = autotest.Autotest(client) | 22 client_at = autotest.Autotest(client) |
23 client.reboot() | 23 client.reboot() |
24 client_at.run_test('logging_KernelCrash') | 24 client_at.run_test('logging_UncleanShutdown') |
OLD | NEW |