# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

AUTHOR = "kdlucas@chromium.org (Kelly Lucas)"
DOC = "Checks system logs for error messages."
NAME = "platform_CheckErrorsInLog"
PURPOSE = "Ensure there are no major errors in system logs."
CRITERIA = """
Fails if any of the following occurs:
  - Finds the keywords fatal, oops, panic, or segfault in:
    - kern.log
    - syslog
    - dmesg
"""
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "client"

job.run_test('platform_CheckErrorsInLog')