]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ec9c381113e77cfa529c3a18d836e1ebc8bc9e3
tree287839ad8cc509bec89790524e0416239b008842
parent9bc39800c306b0456661589ead4d6e4785a8a3d7
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