scripts/shell.c doesn't support '\0'

Chris Boot bootc at debian.org
Tue Dec 28 22:20:47 UTC 2021


On 28/12/2021 20:07, Denys Vlasenko wrote:
> On Tue, Dec 28, 2021 at 12:00 PM Chris Boot <bootc at debian.org> wrote:
>> On 28/12/2021 08:07, Denys Vlasenko wrote:
>>>> It
>>>> turns out that scripts/shell.c cannot output a NUL for the "\0" in the
>>>> test string, thus breaking this test.
>>>
>>> What is scripts/shell.c? I don't see such a file.
>>
>> Sorry, I was a bit tired last night. The source is scripts/echo.c, which
>> gets built to testsuite/echo-ne in testsuite/testing.sh.
> 
> Fixed in git, can you confirm?

Thanks Denys, all the tests pass with that patch applied. Many thanks 
for sorting this out so fast!

Best regards,
Chris

-- 
Chris Boot
bootc at debian.org


More information about the busybox mailing list