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 <[email protected]>