From 86ba007b84ae1ebe35e88c57e023caac3d2d9903 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 8 Oct 2021 23:03:54 +0200 Subject: xxd: fix -p -r, closes 13881 function old new delta xxd_main 893 890 -3 Signed-off-by: Denys Vlasenko --- testsuite/xxd.tests | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testsuite') 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 -- cgit v1.1