diff options
author | Denys Vlasenko | 2021-10-08 23:03:54 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-10-08 23:03:54 +0200 |
commit | 86ba007b84ae1ebe35e88c57e023caac3d2d9903 (patch) | |
tree | 5e80e0d26c2cefec73ba7f2000adccca62641daf /testsuite/xxd.tests | |
parent | d315a77a79817d364a1562f4457c21fbb8174025 (diff) | |
download | busybox-86ba007b84ae1ebe35e88c57e023caac3d2d9903.zip busybox-86ba007b84ae1ebe35e88c57e023caac3d2d9903.tar.gz |
xxd: fix -p -r, closes 13881
function old new delta
xxd_main 893 890 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/xxd.tests')
-rwxr-xr-x | testsuite/xxd.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/xxd.tests b/testsuite/xxd.tests index 2e80be5..76fa96a 100755 --- a/testsuite/xxd.tests +++ b/testsuite/xxd.tests @@ -31,4 +31,10 @@ testing 'xxd -p with 31 NULs' \ '' \ '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0' +testing 'xxd -p -r' \ + 'xxd -p -r' \ + '01234567765432100123456776543210' \ + '' \ + '30313233343536373736353433323130 30313233343536373736353433323130' + exit $FAILCOUNT |