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 -- 2.46.2 _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox
