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 <pes...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to