Harald Welte has submitted this change and it was merged.

Change subject: L1CTL: Quickly fail in case of non-successful FBSB.resp
......................................................................


L1CTL: Quickly fail in case of non-successful FBSB.resp

Change-Id: I9d1fdb196eee7b3b06f2d3622e59d58f402dcd0d
---
M library/L1CTL_PortType.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)

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



diff --git a/library/L1CTL_PortType.ttcn b/library/L1CTL_PortType.ttcn
index dd5abc9..b82419e 100644
--- a/library/L1CTL_PortType.ttcn
+++ b/library/L1CTL_PortType.ttcn
@@ -26,6 +26,9 @@
                T.start
                alt {
                        [] pt.receive(t_L1CTL_FBSB_CONF(0)) {};
+                       [] pt.receive(t_L1CTL_FBSB_CONF(?)) {
+                               setverdict(fail, "FBSB Failed with non-zero 
return code");
+                               };
                        [] pt.receive { repeat; };
                        [] T.timeout { setverdict(fail, "Timeout in FBSB") };
                }

-- 
To view, visit https://gerrit.osmocom.org/6866
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9d1fdb196eee7b3b06f2d3622e59d58f402dcd0d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to