Change in osmo-ttcn3-hacks[master]: pcu: Add missing f_shutdown() to exit as soon as possible without fin...

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

pespin gerrit-no-reply at lists.osmocom.org
Fri May 22 13:17:28 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18419 )


Change subject: pcu: Add missing f_shutdown() to exit as soon as possible without final=true
......................................................................

pcu: Add missing f_shutdown() to exit as soon as possible without final=true

Change-Id: I9703f7c81a98b6ef826db48c107ee833c125e5cc
---
M pcu/PCU_Tests.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)



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

diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 272ddb5..7eb322e 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -606,6 +606,7 @@
 
 		if (not match(dl_block.ctrl.payload.u.ul_ack_nack.gprs.ch_coding_cmd, ch_coding)) {
 			setverdict(fail, "Channel Coding does not match our expectations: ", ch_coding);
+			f_shutdown(__BFILE__, __LINE__);
 		}
 	}
 
@@ -681,6 +682,7 @@
 
 	if (last_ch_coding != CH_CODING_CS1) {
 		setverdict(fail, "Channel Coding does not match our expectations (CS-1): ", last_ch_coding);
+		f_shutdown(__BFILE__, __LINE__);
 	}
 
 	f_shutdown(__BFILE__, __LINE__, final := true);
@@ -725,6 +727,7 @@
 
 	if (last_ch_coding != CH_CODING_CS3) {
 		setverdict(fail, "Channel Coding does not match our expectations (CS-3): ", last_ch_coding);
+		f_shutdown(__BFILE__, __LINE__);
 	}
 
 	f_shutdown(__BFILE__, __LINE__, final := true);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18419
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: I9703f7c81a98b6ef826db48c107ee833c125e5cc
Gerrit-Change-Number: 18419
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200522/7cd32b05/attachment.htm>


More information about the gerrit-log mailing list