aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_gsm_authen.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-26 00:40:18 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-01-04 17:26:14 +0000
commit7814a832980caa1206a3f217ef79f1a19831305a (patch)
tree7e2e1f71e3ba6966822027df5064e125d28c5024 /tests/msc_vlr/msc_vlr_test_gsm_authen.c
parent3a3ed9b704bf01792628d116056b565a67a2eaa6 (diff)
use osmo_rat_type from libosmocore
Replace locally defined enum ran_type with libosmocore's new enum osmo_rat_type, and value_string ran_type_names with osmo_rat_type_names. The string representations change, which has cosmetic effects on the test suite expectations. Depends: I659687aef7a4d67ca372a39fef31dee07aed7631 (libosmocore) Change-Id: I2c78c265dc99df581e1b00e563d6912c7ffdb36b
Diffstat (limited to 'tests/msc_vlr/msc_vlr_test_gsm_authen.c')
-rw-r--r--tests/msc_vlr/msc_vlr_test_gsm_authen.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_gsm_authen.c b/tests/msc_vlr/msc_vlr_test_gsm_authen.c
index 81297815d..46dd9a1c6 100644
--- a/tests/msc_vlr/msc_vlr_test_gsm_authen.c
+++ b/tests/msc_vlr/msc_vlr_test_gsm_authen.c
@@ -115,8 +115,8 @@ static void test_gsm_authen()
VERBOSE_ASSERT(cm_service_result_sent, == RES_ACCEPT, "%d");
/* Release connection */
- expect_bssap_clear(RAN_GERAN_A);
- conn_conclude_cm_service_req(g_conn, RAN_GERAN_A);
+ expect_bssap_clear(OSMO_RAT_GERAN_A);
+ conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A);
btw("all requests serviced, conn has been released");
bss_sends_clear_complete();
@@ -333,8 +333,8 @@ static void test_gsm_authen_tmsi()
VERBOSE_ASSERT(cm_service_result_sent, == RES_ACCEPT, "%d");
/* Release connection */
- expect_bssap_clear(RAN_GERAN_A);
- conn_conclude_cm_service_req(g_conn, RAN_GERAN_A);
+ expect_bssap_clear(OSMO_RAT_GERAN_A);
+ conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A);
btw("all requests serviced, conn has been released");
bss_sends_clear_complete();
@@ -728,7 +728,7 @@ static void test_gsm_milenage_authen()
comment_start();
net->authentication_required = true;
- rx_from_ran = RAN_GERAN_A;
+ rx_from_ran = OSMO_RAT_GERAN_A;
btw("Location Update request causes a GSUP Send Auth Info request to HLR");
lu_result_sent = RES_NONE;
@@ -828,8 +828,8 @@ static void test_gsm_milenage_authen()
VERBOSE_ASSERT(cm_service_result_sent, == RES_ACCEPT, "%d");
/* Release connection */
- expect_bssap_clear(RAN_GERAN_A);
- conn_conclude_cm_service_req(g_conn, RAN_GERAN_A);
+ expect_bssap_clear(OSMO_RAT_GERAN_A);
+ conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A);
btw("all requests serviced, conn has been released");
bss_sends_clear_complete();