RTEMS | shell: add the true/false shell commands (!1051)

Mostafa Abdelglel (@galelo04) gitlab at rtems.org
Tue Feb 10 19:25:13 UTC 2026




Mostafa Abdelglel commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1051#note_142357


I opened a shell instance using the sparc-rtems7-sis tool, I then verified the existence of the commands they are now recognized previously they returned "command not found", also verified they executed silently which is the expected behavior, I tried to verify the return values in the shell level by doing a command chaining like `false || echo "it worked"` but it didn't work, I deduced from this that the current RTEMS shell parser doesn't support chaining.

I plan to port a command with visible output (like yes or head) this upcoming weekend to validate the build process with more complex logic.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1051#note_142357
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260210/b8b55885/attachment-0001.htm>


More information about the bugs mailing list