Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 05:27:43 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 05:27:43 +0300
commitaa4d303a3139107919f73cece4eaf85a7dc75db6 (patch)
tree53aa8df516e1f4783ddc6d020c7e200587359356 /testsuite
parent0c3270f7e55e0ca7b8d664851468511d2c8995cf (diff)
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
{ printf '\0\1' | od -s | grep -q 256; } && le=true
readonly le
+$le || SKIP=1
+testing "od (little-endian)" \
+ "od" \
+"\
+0000000 001001 005003 041101 177103
+0000010
+" \
+ "" "$input"
+SKIP=
+
optional !DESKTOP
testing "od -a (!DESKTOP)" \
"od -a" \