Change in osmo-ttcn3-hacks[master]: BTS_Tests: use as_l1_exp_lapdm() in f_TC_rll_est_req()

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Jun 1 14:34:37 UTC 2021


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24476 )

Change subject: BTS_Tests: use as_l1_exp_lapdm() in f_TC_rll_est_req()
......................................................................

BTS_Tests: use as_l1_exp_lapdm() in f_TC_rll_est_req()

Change-Id: Ic0ecef07385621e0f0fbdae67daad95ef628cdd5
Related: SYS#4895, OS#4941
---
M bts/BTS_Tests.ttcn
1 file changed, 1 insertion(+), 15 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 8874d85..9289673 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6324,21 +6324,7 @@
 	RSL.send(ts_RSL_EST_REQ(g_chan_nr, tc.link_id));
 	T.start;
 	alt {
-	[] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, ?)) -> value dl {
-		var LapdmFrame lapdm;
-		var octetstring l2 := dl.payload.data_ind.payload;
-		if (dl.dl_info.link_id.c == SACCH) {
-			/* remove L1 header */
-			l2 := substr(l2, 2, lengthof(l2)-2);
-		}
-		lapdm.ab := dec_LapdmFrameAB(l2);
-		if (match(lapdm, tr_LAPDm_SABM(tc.sapi, cr_MT_CMD, true, ''O))) {
-			setverdict(pass);
-		} else {
-			repeat;
-		}
-		}
-	[] L1CTL.receive { repeat; }
+	[] as_l1_exp_lapdm(tr_LAPDm_SABM(tc.sapi, cr_MT_CMD, true, ''O));
 	[] T.timeout {
 		Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Timeout waiting for SABM");
 		}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24476
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ic0ecef07385621e0f0fbdae67daad95ef628cdd5
Gerrit-Change-Number: 24476
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210601/52c0c8a1/attachment.htm>


More information about the gerrit-log mailing list