summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-18 16:02:25 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-18 17:09:02 +0100
commitedbab816ba929020a5a6422096fd4cb8b106d4aa (patch)
tree18ae13389f32659aa075f38bf1234aa31161c051
parentae5791defdc8b3a6fbf09304fff1e3ff421c8379 (diff)
MSC_Tests: Fix to use 2-digit MNC
Until recently, OsmoMSC didn't distinguish 2-digit from 3-digit MNC, and the config file states '42' as MNC while the tester used '042' in several locations. This causes almost all MSC_Tests fail with recent osmo-msc. Let's fix the tests to use '42', as they should always have. Change-Id: Id02bfd74127cf5551923912934240035106a8a4e
-rw-r--r--msc/MSC_Tests.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index e154911..10f772e 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -378,7 +378,7 @@ function f_init_pars(integer imsi_suffix) runs on MTC_CT return BSC_ConnHdlrPars
var BSC_ConnHdlrPars pars := {
sccp_addr_own := g_bssap.sccp_addr_own,
sccp_addr_peer := g_bssap.sccp_addr_peer,
- cell_id := valueof(ts_CellId_CGI('262'H, '042'H, 23, 42)),
+ cell_id := valueof(ts_CellId_CGI('262'H, '42'H, 23, 42)),
imei := f_gen_imei(imsi_suffix),
imsi := f_gen_imsi(imsi_suffix),
msisdn := f_gen_msisdn(imsi_suffix),
@@ -521,7 +521,7 @@ runs on BSC_ConnHdlr {
f_init_handler(pars);
var MobileIdentityLV mi := valueof(ts_MI_IMSI_LV(g_pars.imsi));
- var BSSMAP_IE_CellIdentifier cell_id := valueof(ts_CellId_CGI('262'H, '042'H, 23, 42));
+ var BSSMAP_IE_CellIdentifier cell_id := valueof(ts_CellId_CGI('262'H, '42'H, 23, 42));
var PDU_ML3_MS_NW l3_info := valueof(ts_CM_SERV_REQ(CM_TYPE_MO_CALL, mi));
f_create_gsup_expect(hex2str(g_pars.imsi));