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 5 AUTHOR = "cernekee" 6 NAME = "kernel_sysrq_info" 7 PURPOSE = "Verify the Magic SysRq show-* commands." 8 ATTRIBUTES = "suite:kernel_daily_regression" 9 SUITE = "kernel_daily_regression" 10 TIME = "FAST" 11 TEST_TYPE = "client" 12 DOC = """ 13 Verifies select /proc/sysrq-trigger commands. 14 15 Fail if any "show-*" SysRq command doesn't match the regexp in the 16 test 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 24 These SysRq commands are used to gather postmortem data from systems 25 deployed in the field, so it is critical that they work correctly (and 26 don't crash the system). 27 """ 28 29 job.run_test('kernel_sysrq_info') 30