diff options
| author | 2026-04-08 12:32:12 +0800 | |
|---|---|---|
| committer | 2026-04-13 11:05:39 -0600 | |
| commit | f8e0a5a174d7d3bc3547c15bc1647c35427f5c34 (patch) | |
| tree | 80815fe4fc781f434fd19e91b720320bc221efc7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | selftests: Preserve subtarget failures in all/install (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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
