From cd5e52605cdb77bdc6f36fce81a6a1bac7fbda48 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 6 May 2016 13:46:21 +0200 Subject: sgsn_test: Adapt test case to now-existing InsertSubscriberData We recently implementd InsertSubscriberData in the SGSN, adapt the test to reflect that. --- openbsc/tests/sgsn/sgsn_test.c | 4 ++-- 1 file 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; -- cgit v1.2.3