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/.
daniel gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/5843 BSSMAP_Emulation: Initialize ExpectTable before use The assignment_fr_* tests now go through to the point where the BSC sends a CRCX to the mgw. Change-Id: Ic5a128861ae7b1a4cf8158e43c59c52ebd2a20ba --- M library/BSSMAP_Emulation.ttcn 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/43/5843/1 diff --git a/library/BSSMAP_Emulation.ttcn b/library/BSSMAP_Emulation.ttcn index 153fb86..8475d55 100644 --- a/library/BSSMAP_Emulation.ttcn +++ b/library/BSSMAP_Emulation.ttcn @@ -297,6 +297,7 @@ g_bssmap_id := id; f_conn_table_init(); + f_expect_table_init(); while (true) { var BSSAP_N_UNITDATA_ind ud_ind; @@ -518,5 +519,11 @@ setverdict(fail, "No space left in ExpectTable"); } +private function f_expect_table_init() +runs on BSSMAP_Emulation_CT { + for (var integer i := 0; i < sizeof(ExpectTable); i := i+1) { + ExpectTable[i].l3_payload := omit; + } +} } -- To view, visit https://gerrit.osmocom.org/5843 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic5a128861ae7b1a4cf8158e43c59c52ebd2a20ba Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: daniel <dwillmann at sysmocom.de>