xref: /aosp_15_r20/external/autotest/client/site_tests/logging_UserCrash/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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 = "ChromeOS 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, suite:satlab-qual-bvt-cq"
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'
26PY_VERSION = 3
27
28DOC = """
29Test that user space crashes are detected and handled appropriately.
30"""
31
32job.run_test('logging_UserCrash')
33