summaryrefslogtreecommitdiffstats
path: root/tests/archinfo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/archinfo')
-rw-r--r--tests/archinfo17
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/archinfo b/tests/archinfo
index 5034766..334571e 100644
--- a/tests/archinfo
+++ b/tests/archinfo
@@ -1,19 +1,22 @@
# -*- sh -*-
# See LICENSE file for copyright and license details.
-printf '%s\n' "$archinfo" | grep '^AMD64 8 64 64 Little TWOS_COMPLEMENT' >/dev/null
-printf '%s\n' "$archinfo" | grep '^AMD64_X32 8 32 32 Little TWOS_COMPLEMENT' >/dev/null
-printf '%s\n' "$archinfo" | grep '^M68K 8 32 32 Big TWOS_COMPLEMENT' >/dev/null
-printf '%s\n' "$archinfo" | grep '^PARISC_32 8 32 32 Big TWOS_COMPLEMENT' >/dev/null
-printf '%s\n' "$archinfo" | grep '^PARISC_64 8 64 64 Big TWOS_COMPLEMENT' >/dev/null
-printf '%s\n' "$archinfo" | grep '^SPARC_32 8 32 32 Big TWOS_COMPLEMENT' >/dev/null
-printf '%s\n' "$archinfo" | grep '^I386 8 32 32 Little TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^AMD64 8 64 64 64 Little TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^AMD64_X32 8 32 32 64 Little TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^M68K 8 32 32 16 Big TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^PARISC_32 8 32 32 64 Big TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^PARISC_64 8 64 64 64 Big TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^SPARC_32 8 32 32 64 Big TWOS_COMPLEMENT' >/dev/null
+printf '%s\n' "$archinfo" | grep '^I386 8 32 32 32 Little TWOS_COMPLEMENT' >/dev/null
test $(getbytesize AMD64) = 8
test $(getbytesize I386) = 8
test $(getaddrsize I386) = 32
test $(getaddrsize AMD64) = 64
test $(getsizesize AMD64) = 64
test $(getsizesize I386) = 32
+test $(getintalign I386) = 32
+test $(getintalign AMD64) = 64
+test $(getintalign M68K) = 16
test $(getendian I386) = Little
test $(getendian AMD64) = Little
test $(getendian M68K) = Big