aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-02-15 11:43:59 +0100
committerMax <msuraev@sysmocom.de>2017-02-21 16:24:37 +0000
commita66d8cfcb530240b5eebdb8f3ad10aaa027bcbde (patch)
tree67a1a10217fd84a262d705a5f60d4c78bc6926c9 /openbsc/tests
parenta1613695d1472e61c85706a8daeb2f83ba5364dd (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.c3
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 */