aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 04:27:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 04:27:43 +0200
commitaa4d303a3139107919f73cece4eaf85a7dc75db6 (patch)
tree53aa8df516e1f4783ddc6d020c7e200587359356 /testsuite
parent0c3270f7e55e0ca7b8d664851468511d2c8995cf (diff)
downloadbusybox-w32-aa4d303a3139107919f73cece4eaf85a7dc75db6.tar.gz
busybox-w32-aa4d303a3139107919f73cece4eaf85a7dc75db6.tar.bz2
busybox-w32-aa4d303a3139107919f73cece4eaf85a7dc75db6.zip
od: fix default format, shrink
function old new delta od_main 556 568 +12 .rodata 104613 104555 -58 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 12/-58) Total: -46 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/od.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/od.tests b/testsuite/od.tests
index 4b1525620..d6f50a206 100755
--- a/testsuite/od.tests
+++ b/testsuite/od.tests
@@ -12,6 +12,16 @@ le=false
12{ printf '\0\1' | od -s | grep -q 256; } && le=true 12{ printf '\0\1' | od -s | grep -q 256; } && le=true
13readonly le 13readonly le
14 14
15$le || SKIP=1
16testing "od (little-endian)" \
17 "od" \
18"\
190000000 001001 005003 041101 177103
200000010
21" \
22 "" "$input"
23SKIP=
24
15optional !DESKTOP 25optional !DESKTOP
16testing "od -a (!DESKTOP)" \ 26testing "od -a (!DESKTOP)" \
17 "od -a" \ 27 "od -a" \