selftests: ftrace: Use md5sum to take less time of checking logs
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 27 Jun 2017 10:28:32 +0000 (19:28 +0900)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 30 Jun 2017 16:06:02 +0000 (10:06 -0600)
commitd87b29179aa00efe15c88eebbcb88819e87e7f2a
tree4d257a8bf2e9f5acd5a1a79f66aa2141d4e7bdb5
parentd644437a1dc6226afb7b8a814657961d8812f763
selftests: ftrace: Use md5sum to take less time of checking logs

Use md5sum so that it takes less time of checking
trace logs update. Since busybox tail/cat takes too
long time to read the trace log, this uses md5sum
to check whether trace log is updated or not.

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>
tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc