diff options
author | Mattias Andrée <maandree@kth.se> | 2023-12-17 13:23:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-12-17 13:23:51 +0100 |
commit | 2e7b4df9f7dfd6a4a6796cd2fcee010ea78427ea (patch) | |
tree | a321a6a0b4bc93cbc1b7704239a675c490383b6d /tests/load-archinfo | |
parent | Tell the user whether signals and errors are signed or unsigned (diff) | |
download | libsyscalls-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-archinfo | 7 |
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 +} |