selftests/kprobe: Update test for no event name syntax error
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 18 Jul 2022 07:05:10 +0000 (16:05 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sun, 24 Jul 2022 23:11:17 +0000 (19:11 -0400)
commitf71f3ba9b42381c2e52c079a0104e11c30ca4cc2
tree287839ad8cc509bec89790524e0416239b008842
parentfea6ac554d9dea849e2517284b17f99fb9be423a
selftests/kprobe: Update test for no event name syntax error

The commit 208003254c32 ("selftests/kprobe: Do not test for GRP/
without event failures") removed a syntax which is no more cause
a syntax error (NO_EVENT_NAME error with GRP/).
However, there are another case (NO_EVENT_NAME error without GRP/)
which causes a same error. This adds a test for that case.

Link: https://lkml.kernel.org/r/165812790993.1377963.9762767354560397298.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc