Skip to content

Commit 8ed4889

Browse files
committed
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: b78b94b ("selftests/ftrace: Update kprobe event error testcase") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent f7d6316 commit 8ed4889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ echo 'p:kprobes/testevent _do_fork abcd=\1' > kprobe_events
9595
check_error 'p:kprobes/testevent _do_fork ^bcd=\1' # DIFF_ARG_TYPE
9696
check_error 'p:kprobes/testevent _do_fork ^abcd=\1:u8' # DIFF_ARG_TYPE
9797
check_error 'p:kprobes/testevent _do_fork ^abcd=\"foo"' # DIFF_ARG_TYPE
98-
check_error '^p:kprobes/testevent _do_fork' # SAME_PROBE
98+
check_error '^p:kprobes/testevent _do_fork abcd=\1' # SAME_PROBE
9999
fi
100100

101101
exit 0

0 commit comments

Comments
 (0)