selftests/ftrace: Fix same probe error test
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 27 Sep 2019 15:10:22 +0000 (11:10 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 28 Sep 2019 21:13:40 +0000 (17:13 -0400)
commit8ed4889eb83179dbc9a105cfed65cc42ecb61097
tree5a75f2d6833fe3c07277bfc243c519b56ae3aadd
parentf7d6316fb43735ae8af969c2e582fbee85709483
selftests/ftrace: Fix same probe error test

The "same probe" selftest that tests that adding the same probe fails
doesn't add the same probe and passes, which fails the test.

Fixes: b78b94b82122 ("selftests/ftrace: Update kprobe event error testcase")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc