[Toybox] [PATCH] toysh: Shut up TEST_HOST, correct 3 test cases

Oliver Webb aquahobbyist at proton.me
Thu Mar 7 17:39:49 PST 2024


Looking at toysh again since the toybox test suite should run under it
(in mkroot or under a chroot) A problem seems to be that there is no
return command, which breaks runtest.sh to it's core. Dont know how to add one in yet

On my version of bash (5.2.26) TEST_HOST fails on 3 test cases,
and toysh also fails on those cases (Even tho toysh is doing the right
thing, the same as bash) The attached patch changes the test file
so that 3 test cases are resolved. And TEST_HOST works

-   Oliver Webb <aquahobbyist at proton.me>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-toysh-Shut-up-TEST_HOST-both-toysh-and-bash-are-doin.patch
Type: text/x-patch
Size: 2151 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240308/a0df58c5/attachment.bin>


More information about the Toybox mailing list