aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-22 23:09:41 -0400
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-05 21:08:00 +0200
commitb927f1c3199b48becb03c0d56926c3b98d6ff5ce (patch)
treecb81e76fdc35d7a16247ec2390f2f7838bad4a83 /openbsc/tests
parent02d8c472bdff0a085cbedd9d902f7ced29e5d712 (diff)
gsup: Extract the new MSISDN string
Extract the new MSISDN IE from the GSUP message and verify that it is read/written to the message.
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/gprs/gprs_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/tests/gprs/gprs_test.c b/openbsc/tests/gprs/gprs_test.c
index 0ae06e780..a7c240183 100644
--- a/openbsc/tests/gprs/gprs_test.c
+++ b/openbsc/tests/gprs/gprs_test.c
@@ -443,6 +443,8 @@ static void test_gsup_messages_dec_enc(void)
static const uint8_t update_location_res[] = {
0x06,
TEST_IMSI_IE,
+ 0x08, 0x07, /* MSISDN of the subscriber */
+ 0x91, 0x94, 0x61, 0x46, 0x32, 0x24, 0x43,
0x04, 0x00, /* PDP info complete */
0x05, 0x12,
0x10, 0x01, 0x01,