Change in osmo-ttcn3-hacks[master]: MSC_Tests: fix TC_sgsap_expl_imsi_det_noneps

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Apr 3 15:26:18 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13492 )

Change subject: MSC_Tests: fix TC_sgsap_expl_imsi_det_noneps
......................................................................

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
---
M msc/MSC_Tests.ttcn
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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 @@
 	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();
 

-- 
To view, visit https://gerrit.osmocom.org/13492
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I2ec3f548dfcf5a9b99f10214a8bfd0c6978e253b
Gerrit-Change-Number: 13492
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190403/b8f93748/attachment.htm>


More information about the gerrit-log mailing list