diff options
author | Masami Hiramatsu | 2017-11-04 04:38:41 +0900 |
---|---|---|
committer | Shuah Khan | 2017-11-15 08:07:53 -0700 |
commit | 42534b1f58e04a5a6d245d4a8d25f7eb5fd79c7a (patch) | |
tree | 7c3e8cc586de9e1f66c856e069e56c0152bb0dda /tools/testing/selftests/ftrace/test.d/template | |
parent | f737b8f4d3c4b0e088492ee8b5134f5fe9f43b87 (diff) |
selftests/ftrace: Introduce exit_pass and exit_fail
As same as other results, introduce exit_pass and exit_fail
functions so that we can easily understand what will happen.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/template')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/template | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/template b/tools/testing/selftests/ftrace/test.d/template index 5448f7abad5f..5c39ceb18a0d 100644 --- a/tools/testing/selftests/ftrace/test.d/template +++ b/tools/testing/selftests/ftrace/test.d/template @@ -4,6 +4,7 @@ # Note that all tests are run with "errexit" option. exit 0 # Return 0 if the test is passed, otherwise return !0 +# Or you can call exit_pass for passed test, and exit_fail for failed test. # If the test could not run because of lack of feature, call exit_unsupported # If the test returned unclear results, call exit_unresolved # If the test is a dummy, or a placeholder, call exit_untested |