On 4/8/26 15:18, Steven Rostedt wrote:
On Wed, 8 Apr 2026 12:32:12 +0800
Cao Ruichuang <[email protected]> wrote:
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 <[email protected]>
Reviewed-by: Steven Rostedt (Google) <[email protected]>
Shuah,
Care to take this through your tree?
-- Steve
Yes - I can take this for the merge window.
thanks,
-- Shuah