Skip to content

Fix ltp kirk eval - #633

Merged
bhcopeland merged 2 commits into
Linaro:masterfrom
roxell:fix-ltp-kirk-eval
Aug 3, 2026
Merged

Fix ltp kirk eval#633
bhcopeland merged 2 commits into
Linaro:masterfrom
roxell:fix-ltp-kirk-eval

Conversation

@roxell

@roxell roxell commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

roxell added 2 commits August 3, 2026 11:02
eval joins its arguments, so KIRK_PATH="id; kirk" runs id first and the
check still returns 0. eval also hides the exit code behind $?. Run the
binary directly and check it with 'if !'.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
KIRK_PATH ends up in pipe0_status, which runs eval, so KIRK_PATH="id ;
kirk" runs id too. Resolve it with command -v and reject a value that is
not a real command.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
@roxell
roxell requested a review from bhcopeland August 3, 2026 09:18
@bhcopeland
bhcopeland merged commit 425ef48 into Linaro:master Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants