diff options
author | Max <msuraev@sysmocom.de> | 2017-02-15 11:43:59 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-02-21 16:24:37 +0000 |
commit | a66d8cfcb530240b5eebdb8f3ad10aaa027bcbde (patch) | |
tree | 67a1a10217fd84a262d705a5f60d4c78bc6926c9 /openbsc/tests | |
parent | a1613695d1472e61c85706a8daeb2f83ba5364dd (diff) |
Handle DSD from HLR
Handle Delete Subscriber Data GSUP message from HLR to disable Packet
Services for a given IMSI.
Change-Id: I6b9b494fa58bcb95bd550c49f8204f00f8fdf628
Related: OS#1645
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/sgsn/sgsn_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c index 0aa142ff9..ff07978c0 100644 --- a/openbsc/tests/sgsn/sgsn_test.c +++ b/openbsc/tests/sgsn/sgsn_test.c @@ -634,7 +634,8 @@ static void test_subscriber_gsup(void) /* Inject DeleteSubscrData GSUP message */ last_updated_subscr = NULL; rc = rx_gsup_message(delete_data_req, sizeof(delete_data_req)); - OSMO_ASSERT(rc == -GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL); + if (rc != -GMM_CAUSE_SEM_INCORR_MSG) + printf("Unexpected response to DSD: %d\n", rc); OSMO_ASSERT(last_updated_subscr == NULL); /* Inject wrong LocCancelReq GSUP message */ |