diff --git a/bts/BTS_Tests_LAPDm.ttcn b/bts/BTS_Tests_LAPDm.ttcn index 05c1a7124..d961adb85 100644 --- a/bts/BTS_Tests_LAPDm.ttcn +++ b/bts/BTS_Tests_LAPDm.ttcn @@ -1008,12 +1008,11 @@ runs on ConnHdlr { p:=false, nr:=(dls.v_s) mod 8))); [] as_ignore_background(not is_sacch); [] LAPDM.receive(t_PH_DATA(0, is_sacch, ?)) -> value pd { - setverdict(fail, "received unexpected LAPDm ", pd); - repeat; + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("received unexpected LAPDm ", pd)); } [] LAPDM.receive(t_PH_DATA(0, ?, ?)) { repeat; } [offset < lengthof(l3)] RSL.receive(tr_RSL_DATA_IND(g_chan_nr, link_id, ?)) { - setverdict(fail, "received RSL DATA IND before message complete"); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "received RSL DATA IND before message complete"); } } } @@ -1025,10 +1024,10 @@ runs on ConnHdlr { setverdict(pass); } [] RSL.receive(tr_RSL_DATA_IND(g_chan_nr, link_id, ?)) { - setverdict(fail, "Received RSL DATA IND with wrong payload"); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Received RSL DATA IND with wrong payload"); } [] T.timeout { - setverdict(fail, "Timeout waiting for RSL DATA IND of de-segmented message"); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Timeout waiting for RSL DATA IND of de-segmented message"); } } }