diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-05-06 13:46:21 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-05-06 13:49:20 +0200 |
commit | cd5e52605cdb77bdc6f36fce81a6a1bac7fbda48 (patch) | |
tree | e6539c84cd20a82729f0eed88cfd7ddc2739c3e2 /openbsc | |
parent | 7c55ede8b12faf1420b25ba30b5a22467fb2445c (diff) |
sgsn_test: Adapt test case to now-existing InsertSubscriberData
We recently implementd InsertSubscriberData in the SGSN, adapt the test
to reflect that.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/tests/sgsn/sgsn_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c index 5cffff289..afff30f32 100644 --- a/openbsc/tests/sgsn/sgsn_test.c +++ b/openbsc/tests/sgsn/sgsn_test.c @@ -610,8 +610,8 @@ static void test_subscriber_gsup(void) /* Inject InsertSubscrData GSUP message */ last_updated_subscr = NULL; rc = rx_gsup_message(insert_data_req, sizeof(insert_data_req)); - OSMO_ASSERT(rc == -GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL); - OSMO_ASSERT(last_updated_subscr == NULL); + OSMO_ASSERT(rc = -ENOTSUP); /* not connected */ + OSMO_ASSERT(last_updated_subscr == s1); /* Inject DeleteSubscrData GSUP message */ last_updated_subscr = NULL; |