summaryrefslogtreecommitdiff
path: root/rust/kernel/ptr/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorCao Ruichuang <create0818@163.com>2026-04-08 12:32:12 +0800
committerShuah Khan <skhan@linuxfoundation.org>2026-04-13 11:05:39 -0600
commitf8e0a5a174d7d3bc3547c15bc1647c35427f5c34 (patch)
tree80815fe4fc781f434fd19e91b720320bc221efc7 /rust/kernel/ptr/git@git.tavy.me:linux.git
parent7e47389142b8ada66280be71e01a3238751086f0 (diff)
selftests/ftrace: Quote check_requires comparisons
check_requires() compares requirement strings that can contain shell pattern characters such as '[' and ']'. Under /bin/sh, the unquoted test expressions can emit 'unexpected operator' warnings while parsing README-backed requirements. Quote the relevant comparisons and path checks so the helper handles those patterns without spurious shell warnings. Validated by rerunning fprobe_syntax_errors.tc and confirming the previous '/bin/sh: unexpected operator' lines disappear from the detailed ftracetest log. Signed-off-by: Cao Ruichuang <create0818@163.com> Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org> Link: https://lore.kernel.org/r/20260408043212.8063-1-create0818@163.com Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions