• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2015 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 = "cernekee"
6NAME = "kernel_sysrq_info"
7PURPOSE = "Verify the Magic SysRq show-* commands."
8ATTRIBUTES = "suite:kernel_daily_regression"
9TIME = "FAST"
10TEST_TYPE = "client"
11DOC = """
12Verifies select /proc/sysrq-trigger commands.
13
14Fail if any "show-*" SysRq command doesn't match the regexp in the
15test case, or if it crashes the system:
16  - show-backtrace-all-active-cpus(L)
17  - show-memory-usage(M)
18  - show-registers(P)
19  - show-all-timers(Q)
20  - show-task-states(T)
21  - show-blocked-tasks(W)
22
23These SysRq commands are used to gather postmortem data from systems
24deployed in the field, so it is critical that they work correctly (and
25don't crash the system).
26"""
27
28job.run_test('kernel_sysrq_info')
29