summaryrefslogtreecommitdiffstats
path: root/msc
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-04-02 15:27:10 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2019-04-02 16:03:42 +0200
commitd08e7e7fd36127b27314a45a800305c1cb3e3078 (patch)
tree6fbde889d4041045f113555b3f24220abfd979f7 /msc
parentfc19f17542eadf73fca4d51cc57ba58cf6de35f9 (diff)
MSC_Tests: fix TC_sgsap_expl_imsi_det_noneps
When a subscriber is detached from non eps services, it gets fully detached from 2G, which means that the VLR is supposed to remove the subscriber. Lets check if the subscriber is in deed no longer known by the VLR. Change-Id: I2ec3f548dfcf5a9b99f10214a8bfd0c6978e253b Related: OS#3614
Diffstat (limited to 'msc')
-rw-r--r--msc/MSC_Tests.ttcn6
1 files changed, 4 insertions, 2 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 3b9ea40..c7c61eb 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -3862,8 +3862,10 @@ runs on BSC_ConnHdlr {
var octetstring mme_name := f_enc_dns_hostname(mp_mme_name);
SGsAP.send(ts_SGsAP_IMSI_DETACH_IND(g_pars.imsi, mme_name, combined_UE_initiated));
SGsAP.receive(tr_SGsAP_IMSI_DETACH_ACK(g_pars.imsi));
- f_ctrl_get_exp(IPA_CTRL, "fsm.SGs-UE.id.imsi:" & hex2str(g_pars.imsi) & ".state", "SGs-NULL");
- /* FIXME: How to verify that VLR has removed MM context? */
+
+ if (f_ctrl_subscr_in_vlr(hex2str(g_pars.imsi))) {
+ setverdict(fail, "subscriber not removed from VLR");
+ }
f_sgsap_bssmap_screening();