Change in osmo-ttcn3-hacks[master]: start implementing the TC_paging() PCU test

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

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Tue Nov 6 12:31:28 UTC 2018


Stefan Sperling has posted comments on this change. ( https://gerrit.osmocom.org/9374 )

Change subject: start implementing the TC_paging() PCU test
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.osmocom.org/#/c/9374/3/pcu/PCU_Tests.ttcn
File pcu/PCU_Tests.ttcn:

https://gerrit.osmocom.org/#/c/9374/3/pcu/PCU_Tests.ttcn@223
PS3, Line 223: 				if (dec_PDU_ML3_NW_MS_backtrack(payload, pdu) != 0) {
> what does this _backtrack do?
The _backtrack variant of this function allows us to ignore decoding errors of unrelated Layer1 frames.

The code: pdu := dec_PDU_ML3_NW_MS(payload);

will sometimes result in an error such as:

Dynamic test case error: While RAW-decoding type '@MobileL3_Types.PDU_ML3_NW_MS': Can not decode type '@MobileL3_Types.PDU_ML3_NW_MS', because invalid message was received

The _backtrack variant returns an error code and hence allows us to skip such frames.



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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id0384e0742ab91983615e4f1c883bb044c1c8b18
Gerrit-Change-Number: 9374
Gerrit-PatchSet: 3
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Comment-Date: Tue, 06 Nov 2018 12:31:28 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181106/4178a751/attachment.htm>


More information about the gerrit-log mailing list