aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-05-25 22:17:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-25 22:17:18 +0200
commit6882a933cf078be35f4eb93963365549d43cb497 (patch)
tree3da4d853f061cd53fdaeb89dc43ecf258150e6fe /testsuite
parentce4cfc33cade63513963f9d5e701f305cbdfe693 (diff)
downloadbusybox-w32-6882a933cf078be35f4eb93963365549d43cb497.tar.gz
busybox-w32-6882a933cf078be35f4eb93963365549d43cb497.tar.bz2
busybox-w32-6882a933cf078be35f4eb93963365549d43cb497.zip
od: implement -B
function old new delta .rodata 105305 105306 +1 od_main 1880 1866 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 1/-14) Total: -13 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/od.tests7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/od.tests b/testsuite/od.tests
index fa6745b78..29ca829d5 100755
--- a/testsuite/od.tests
+++ b/testsuite/od.tests
@@ -38,8 +38,7 @@ testing "od -a (DESKTOP)" \
38 "" "$input" 38 "" "$input"
39SKIP= 39SKIP=
40 40
41optional !DESKTOP #DESKTOP: unrecognized option: B 41testing "od -B" \
42testing "od -B (!DESKTOP)" \
43 "od -B | sed 's/ *$//'" \ 42 "od -B | sed 's/ *$//'" \
44"\ 43"\
450000000 001001 005003 041101 177103 440000000 001001 005003 041101 177103
@@ -117,10 +116,10 @@ testing "od -F (!DESKTOP little-endian)" \
1170000010 1160000010
118" \ 117" \
119 "" "$input" 118 "" "$input"
119SKIP=
120 120
121#optional !DESKTOP
122$le || SKIP=1 121$le || SKIP=1
123testing "od -f (!DESKTOP little-endian)" \ 122testing "od -f (little-endian)" \
124 "od -f | sed 's/ *$//'" \ 123 "od -f | sed 's/ *$//'" \
125"\ 124"\
1260000000 6.3077975e-33 -6.4885867e+37 1250000000 6.3077975e-33 -6.4885867e+37