]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
selftests/ftrace: Add --console hidden option
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 30 Aug 2018 14:13:23 +0000 (23:13 +0900)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 24 Oct 2018 20:49:34 +0000 (14:49 -0600)
commit5d1c6580d616dfc864ffdec587e645e50a21c072
treecee9a9914f00a0b2bbded8b012b0dd89012f9c86
parent9d954f9519707bc0af29ead8b1dedc660306da1b
selftests/ftrace: Add --console hidden option

Add --console hidden option for debug test cases.

This option allows to put "sh" or something else
when the test case hits a bug.

For example, if you find a testcase which doesn't
pass, you can insert sh for interactive debug as below

  -----
  #!/bin/sh
  # description: sample test case

  good-command
  suspicious-wrong-command
  sh # <- add this for interactive debug
  -----

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/ftrace/ftracetest