diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-08 23:03:54 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-08 23:03:54 +0200 |
commit | 86ba007b84ae1ebe35e88c57e023caac3d2d9903 (patch) | |
tree | 5e80e0d26c2cefec73ba7f2000adccca62641daf /testsuite | |
parent | d315a77a79817d364a1562f4457c21fbb8174025 (diff) | |
download | busybox-w32-86ba007b84ae1ebe35e88c57e023caac3d2d9903.tar.gz busybox-w32-86ba007b84ae1ebe35e88c57e023caac3d2d9903.tar.bz2 busybox-w32-86ba007b84ae1ebe35e88c57e023caac3d2d9903.zip |
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')
-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 2e80be5fe..76fa96af9 100755 --- a/testsuite/xxd.tests +++ b/testsuite/xxd.tests | |||
@@ -31,4 +31,10 @@ testing 'xxd -p with 31 NULs' \ | |||
31 | '' \ | 31 | '' \ |
32 | '\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' | 32 | '\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' |
33 | 33 | ||
34 | testing 'xxd -p -r' \ | ||
35 | 'xxd -p -r' \ | ||
36 | '01234567765432100123456776543210' \ | ||
37 | '' \ | ||
38 | '30313233343536373736353433323130 30313233343536373736353433323130' | ||
39 | |||
34 | exit $FAILCOUNT | 40 | exit $FAILCOUNT |