diff options
| author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-11-04 04:38:41 +0900 |
|---|---|---|
| committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-11-15 08:07:53 -0700 |
| commit | 42534b1f58e04a5a6d245d4a8d25f7eb5fd79c7a (patch) | |
| tree | 7c3e8cc586de9e1f66c856e069e56c0152bb0dda /tools/testing/selftests/ftrace/test.d/00basic | |
| parent | selftests: ftrace: add more config fragments (diff) | |
| download | linux-42534b1f58e04a5a6d245d4a8d25f7eb5fd79c7a.tar.gz linux-42534b1f58e04a5a6d245d4a8d25f7eb5fd79c7a.zip | |
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/00basic')
| -rw-r--r-- | tools/testing/selftests/ftrace/test.d/00basic/basic4.tc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc b/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc index aa51f6c17359..0696098d6408 100644 --- a/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc +++ b/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc @@ -2,4 +2,4 @@ # description: Basic event tracing check test -f available_events -a -f set_event -a -d events # check scheduler events are available -grep -q sched available_events && exit 0 || exit $FAIL +grep -q sched available_events && exit_pass || exit_fail |
