diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-04-25 19:02:29 +0000 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2021-05-25 22:27:08 +0200 |
commit | 9d68630a748d0f45cacb5d82d6b7271c1545b825 (patch) | |
tree | b106ede481185cd1f88dcba12e346fe8b2f74c93 | |
parent | 65b3ca781ae6ce4e06ff5d0b4ec6308a9364ebf2 (diff) |
bsc: f_establish_fully: verify lchan ESTABLISHED state
Change-Id: I341e2fa1e8946e7516705fa079e6e54fce9e58b0
-rw-r--r-- | bsc/MSC_ConnectionHandler.ttcn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn index 6b93ca5f..8c44bf74 100644 --- a/bsc/MSC_ConnectionHandler.ttcn +++ b/bsc/MSC_ConnectionHandler.ttcn @@ -1307,6 +1307,13 @@ runs on MSC_ConnHdlr { " released properly: saw an RLL Release on the old lchan, but expecting none."); } } + + var charstring lchan_info := f_vty_transceive_ret(BSCVTY, "show lchan 0 0 " & int2str(g_chan_nr.tn) & " 0"); + if (f_strstr(lchan_info, "State: ESTABLISHED") < 0) { + log("after f_establish_fully(), 'show lchan' replied: ", lchan_info); + setverdict(fail, "lchan is not in state ESTABLISHED"); + mtc.stop; + } } type record HandoverState { |