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
This commit is contained in:
parent
17f970fc65
commit
d47106b337
|
@ -297,6 +297,7 @@ function main(BssmapOps ops, charstring id) runs on BSSMAP_Emulation_CT {
|
|||
|
||||
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 @@ runs on BSSMAP_Emulation_CT {
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue