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 13:56:17 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-05-26 13:56:17 +0300
commit60d4d55b870757089cdae96920cf6c416ba2de37 (patch)
treeca1883766cb079e79b41a537580fa3d171cda65a /testsuite
parent3c6f6382eef14b880550cbf28ac5a517d0a075fc (diff)
od: support -DOHXIL
function old new delta od_main 1866 1917 +51 .rodata 105306 105321 +15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 66/0) Total: 66 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/od.tests44
1 files changed, 16 insertions, 28 deletions
diff --git a/testsuite/od.tests b/testsuite/od.tests
index d6f50a206..677968967 100755
--- a/testsuite/od.tests
+++ b/testsuite/od.tests
@@ -90,9 +90,8 @@ testing "od -d (little-endian)" \
"" "$input"
SKIP=
-optional !DESKTOP #DESKTOP: unrecognized option: D
$le || SKIP=1
-testing "od -D (!DESKTOP little-endian)" \
+testing "od -D (little-endian)" \
"od -D" \
"\
0000000 167969281 4265820737
@@ -133,9 +132,8 @@ testing "od -f (little-endian)" \
"" "$input"
SKIP=
-optional !DESKTOP #DESKTOP: unrecognized option: H
$le || SKIP=1
-testing "od -H (!DESKTOP little-endian)" \
+testing "od -H (little-endian)" \
"od -H" \
"\
0000000 0a030201 fe434241
@@ -144,9 +142,8 @@ testing "od -H (!DESKTOP little-endian)" \
"" "$input"
SKIP=
-optional !DESKTOP #DESKTOP: unrecognized option: X
$le || SKIP=1
-testing "od -X (!DESKTOP little-endian)" \
+testing "od -X (little-endian)" \
"od -X" \
"\
0000000 0a030201 fe434241
@@ -175,51 +172,42 @@ testing "od -x (little-endian)" \
"" "$input"
SKIP=
-optional !DESKTOP #DESKTOP: unrecognized option: I
$le || SKIP=1
-testing "od -I (!DESKTOP little-endian)" \
- "od -I" \
+testing "od -i (little-endian)" \
+ "od -i" \
"\
-0000000 -125183517527965183
+0000000 167969281 -29146559
0000010
" \
"" "$input"
SKIP=
-optional !DESKTOP #DESKTOP: unrecognized option: L
$le || SKIP=1
-testing "od -L (!DESKTOP little-endian)" \
- "od -L" \
+testing "od -O (little-endian)" \
+ "od -O" \
"\
-0000000 -125183517527965183
+0000000 01200601001 37620641101
0000010
" \
"" "$input"
SKIP=
+# This probably also depends on word width of the arch (what is "long"?)
$le || SKIP=1
-testing "od -i (little-endian)" \
- "od -i" \
+testing "od -I (little-endian)" \
+ "od -I" \
"\
-0000000 167969281 -29146559
+0000000 -125183517527965183
0000010
" \
"" "$input"
-SKIP=
-
-optional !DESKTOP #DESKTOP: unrecognized option: O
-$le || SKIP=1
-testing "od -O (!DESKTOP little-endian)" \
- "od -O" \
+testing "od -L (little-endian)" \
+ "od -L" \
"\
-0000000 01200601001 37620641101
+0000000 -125183517527965183
0000010
" \
"" "$input"
-SKIP=
-
-# This probably also depends on word width of the arch (what is "long"?)
-$le || SKIP=1
testing "od -l (little-endian)" \
"od -l" \
"\