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 = "logging_UserCrash" 7PURPOSE = "Verify user space crashes are handled appropriately." 8CRITERIA = """ 9Fails if any of the following conditions occur: 10 - expected core pattern is not output 11 - user space crash handling is not running 12 - forced crash does not occur 13 - forced segv message is not found 14 - core pattern is not recognized as as 'core' 15 - crash is sent without user consent 16""" 17ATTRIBUTES = "suite:bvt-cq, suite:smoke" 18TIME = "SHORT" 19TEST_CATEGORY = "Functional" 20TEST_CLASS = "logging" 21TEST_TYPE = "client" 22# Reboot in the lab after the test ends. Since we lock the core_pattern 23# at the end of the test, we should reboot to restore the state of the 24# device. 25DEPENDENCIES='cleanup-reboot' 26 27DOC = """ 28Test that user space crashes are detected and handled appropriately. 29""" 30 31job.run_test('logging_UserCrash') 32