mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 02:22:28 -04:00
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>
This commit is contained in:
committed by
Shuah Khan
parent
f737b8f4d3
commit
42534b1f58
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user