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 = "kdlucas (a] chromium.org (Kelly Lucas)" 6 DOC = "Checks system logs for error messages." 7 NAME = "platform_CheckErrorsInLog" 8 PURPOSE = "Ensure there are no major errors in system logs." 9 CRITERIA = """ 10 Fails if any of the following occurs: 11 - Finds the keywords fatal, oops, panic, or segfault in: 12 - kern.log 13 - syslog 14 - dmesg 15 """ 16 TIME = "SHORT" 17 TEST_CATEGORY = "Functional" 18 TEST_CLASS = "platform" 19 TEST_TYPE = "client" 20 21 job.run_test('platform_CheckErrorsInLog') 22