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