linux/tools/testing/selftests/ftrace/test.d
Steven Rostedt (VMware) 210f9df026 selftests/ftrace: Fix requirement check of README file
The selftest for ftrace checks some features by checking if the README has
text that states the feature is supported by that kernel. Unfortunately,
this check gives false positives because it many not be checked if there's
spaces in the string to check. This is due to the compare between the
required variable with the ":README" string stripped, because neither has
quotes around them.

Link: https://lkml.kernel.org/r/20210820204742.087177341@goodmis.org

Cc: "Tzvetomir Stoyanov" <tz.stoyanov@gmail.com>
Cc: Tom Zanussi <zanussi@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-kselftest@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: 1b8eec510b ("selftests/ftrace: Support ":README" suffix for requires")
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2021-08-21 10:25:00 -04:00
..
00basic selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
direct selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
dynevent selftests/ftrace: Use $FUNCTION_FORK to reference kernel fork function 2020-10-27 16:44:18 -06:00
event selftests/ftrace: fix event-no-pid on 1-core machine 2021-06-23 18:29:26 -06:00
ftrace selftests/ftrace: Use $FUNCTION_FORK to reference kernel fork function 2020-10-27 16:44:18 -06:00
instances selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
kprobe selftests/ftrace: check for do_sys_openat2 in user-memory test 2020-10-27 16:45:51 -06:00
preemptirq selftests/ftrace: Support ":tracer" suffix for requires 2020-06-16 10:42:10 -06:00
selftest selftests/ftrace: Add checkbashisms meta-testcase 2019-05-24 13:38:29 -06:00
tracer selftests/ftrace: Support ":tracer" suffix for requires 2020-06-16 10:42:10 -06:00
trigger tracing/selftests: Add tests to test histogram sym and sym-offset modifiers 2021-07-08 13:01:51 -04:00
functions selftests/ftrace: Fix requirement check of README file 2021-08-21 10:25:00 -04:00
template selftests/ftrace: Support ":README" suffix for requires 2020-06-16 10:42:47 -06:00