summaryrefslogtreecommitdiffstats
path: root/tests/load-archinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-12-17 13:23:51 +0100
committerMattias Andrée <maandree@kth.se>2023-12-17 13:23:51 +0100
commit2e7b4df9f7dfd6a4a6796cd2fcee010ea78427ea (patch)
treea321a6a0b4bc93cbc1b7704239a675c490383b6d /tests/load-archinfo
parentTell the user whether signals and errors are signed or unsigned (diff)
downloadlibsyscalls-2e7b4df9f7dfd6a4a6796cd2fcee010ea78427ea.tar.gz
libsyscalls-2e7b4df9f7dfd6a4a6796cd2fcee010ea78427ea.tar.bz2
libsyscalls-2e7b4df9f7dfd6a4a6796cd2fcee010ea78427ea.tar.xz
Miscellaneous improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--tests/load-archinfo7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/load-archinfo b/tests/load-archinfo
index e5413b4..8e6b2a6 100644
--- a/tests/load-archinfo
+++ b/tests/load-archinfo
@@ -33,9 +33,12 @@ getaddrsize () {
getsizesize () {
printf '%s\n' "$archinfo" | grep "^$1 " | cut -d ' ' -f 4
}
-getendian () {
+getintalign () {
printf '%s\n' "$archinfo" | grep "^$1 " | cut -d ' ' -f 5
}
-getsign () {
+getendian () {
printf '%s\n' "$archinfo" | grep "^$1 " | cut -d ' ' -f 6
}
+getsign () {
+ printf '%s\n' "$archinfo" | grep "^$1 " | cut -d ' ' -f 7
+}