summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko2023-05-25 22:17:18 +0200
committerDenys Vlasenko2023-05-25 22:17:18 +0200
commit6882a933cf078be35f4eb93963365549d43cb497 (patch)
tree3da4d853f061cd53fdaeb89dc43ecf258150e6fe /testsuite
parentce4cfc33cade63513963f9d5e701f305cbdfe693 (diff)
downloadbusybox-6882a933cf078be35f4eb93963365549d43cb497.zip
busybox-6882a933cf078be35f4eb93963365549d43cb497.tar.gz
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 fa6745b..29ca829 100755
--- a/testsuite/od.tests
+++ b/testsuite/od.tests
@@ -38,8 +38,7 @@ testing "od -a (DESKTOP)" \
"" "$input"
SKIP=
-optional !DESKTOP #DESKTOP: unrecognized option: B
-testing "od -B (!DESKTOP)" \
+testing "od -B" \
"od -B | sed 's/ *$//'" \
"\
0000000 001001 005003 041101 177103
@@ -117,10 +116,10 @@ testing "od -F (!DESKTOP little-endian)" \
0000010
" \
"" "$input"
+SKIP=
-#optional !DESKTOP
$le || SKIP=1
-testing "od -f (!DESKTOP little-endian)" \
+testing "od -f (little-endian)" \
"od -f | sed 's/ *$//'" \
"\
0000000 6.3077975e-33 -6.4885867e+37