On Wed, 23 Oct 2024 15:11:20 +0200
Natanael Copa <nc...@alpinelinux.org> wrote:

> Add test that uncovers bug introduced in busybox 1.37.0
> ---
>  testsuite/hexdump.tests | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/testsuite/hexdump.tests b/testsuite/hexdump.tests
> index be0379cfc..b933cd1a8 100755
> --- a/testsuite/hexdump.tests
> +++ b/testsuite/hexdump.tests
> @@ -82,4 +82,11 @@ testing "hexdump -e /2 %d" \
>  "\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"\
>  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"\
>  
> +
> +testing "hexdump -n4 -e '%u'" \
> +     "hexdump -n4 -e '\"%u\"'" \
> +     "12345678" \
> +     "" \
> +     "\x4e\x61\xbc\x00AAAA"
> +
>  exit $FAILCOUNT

I git bisected the bug to:

commit e2287f99fe6f21fd6435ad04340170ad4ba5f6b3
Author: Denys Vlasenko <vda.li...@googlemail.com>
Date:   Thu May 25 17:39:28 2023 +0200

    od: for !DESKTOP, match output more closely to GNU coreutils 9.1, implement 
-s
    
    Signed-off-by: Denys Vlasenko <vda.li...@googlemail.com>

_______________________________________________
busybox mailing list
busybox@busybox.net
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to