summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2017-11-03 20:38:41 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2017-11-15 16:07:53 +0100
commit42534b1f58e04a5a6d245d4a8d25f7eb5fd79c7a (patch)
tree7c3e8cc586de9e1f66c856e069e56c0152bb0dda /tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc
parentselftests: ftrace: add more config fragments (diff)
downloadlinux-42534b1f58e04a5a6d245d4a8d25f7eb5fd79c7a.tar.xz
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/kprobe/kretprobe_args.tc')
-rw-r--r--tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc
index f1825bdbe3f3..321954683aaa 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc
@@ -14,4 +14,4 @@ echo 1 > events/kprobes/testprobe2/enable
echo 0 > events/kprobes/testprobe2/enable
echo '-:testprobe2' >> kprobe_events
clear_trace
-test -d events/kprobes/testprobe2 && exit 1 || exit 0
+test -d events/kprobes/testprobe2 && exit_fail || exit_pass