aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/abis/abis_test.ok
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-26 12:19:53 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-26 12:19:53 +0100
commitcf77b3a2cfde2b7ef4ac2eacd1820f112e35f71c (patch)
treedfe56d0df688daa34e392372e49ee3d5d691c0a6 /openbsc/tests/abis/abis_test.ok
parentc121bb3188445dfc23a6daef3444031f447395bb (diff)
abis_test: Fix the test case and calculate the right offset
We parse the load_config, take the ptrdiff_t from start and load_config and from the previous array as the alignment can differ on different ABIs. This was found by Daniel when executing the tests on a 64 bit userspace.
Diffstat (limited to 'openbsc/tests/abis/abis_test.ok')
-rw-r--r--openbsc/tests/abis/abis_test.ok4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/abis/abis_test.ok b/openbsc/tests/abis/abis_test.ok
index ba1da338a..2f99f9d49 100644
--- a/openbsc/tests/abis/abis_test.ok
+++ b/openbsc/tests/abis/abis_test.ok
@@ -7,10 +7,10 @@ file_ver: 03 04 05
Start: 13 len: 13
file_id: 09 07 05
file_ver: 06 07 08
-Start: 51 len: 26
+Start: 0 len: 26
file_id: 31 36 38 64 34 37 32 00
file_ver: 76 32 30 30 62 31 34 33 64 30 00
-Start: 77 len: 26
+Start: 26 len: 26
file_id: 31 36 38 64 34 37 32 00
file_ver: 76 32 30 30 62 31 34 33 64 31 00
SELECTED: 1