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