• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "Chrome OS Team"
6NAME = "UncleanShutdownServer"
7TIME = "SHORT"
8TEST_CATEGORY = "Functional"
9TEST_CLASS = "logging"
10TEST_TYPE = "server"
11
12DOC = """
13Test 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
20client = hosts.create_host(machines[0])
21client_at = autotest.Autotest(client)
22client.reboot()
23client_at.run_test('logging_UncleanShutdown')
24