Change in osmo-ttcn3-hacks[master]: Fail if f_streamId_by_trx() can't find a stream id

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

daniel gerrit-no-reply at lists.osmocom.org
Tue Jul 24 07:58:48 UTC 2018


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/10120


Change subject: Fail if f_streamId_by_trx() can't find a stream id
......................................................................

Fail if f_streamId_by_trx() can't find a stream id

Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
---
M library/RSL_Emulation.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/20/10120/1

diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 3c035e9..c56c278 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -318,7 +318,8 @@
 	case (2) { return IPAC_PROTO_RSL_TRX2; }
 	case (3) { return IPAC_PROTO_RSL_TRX3; }
 	}
-	self.stop;
+	setverdict(fail, "Unknown stream ID ", trx_nr);
+	mtc.stop;
 }
 
 

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
Gerrit-Change-Number: 10120
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180724/b773f2b6/attachment.htm>


More information about the gerrit-log mailing list