bsc: Introduce test TC_chan_rel_sccp_tiar_timeout

Verify SCCP T(iar) timeout triggers release of established channel.

Change-Id: Ic2724f62689b99c33e2e5c3a0c2fd022178a788c
diff --git a/library/Osmocom_VTY_Functions.ttcn b/library/Osmocom_VTY_Functions.ttcn
index a1724e9..823d79f 100644
--- a/library/Osmocom_VTY_Functions.ttcn
+++ b/library/Osmocom_VTY_Functions.ttcn
@@ -102,6 +102,7 @@
 	type integer BtsTrxNr (0..255);
 	type integer BtsTimeslotNr (0..7);
 	type integer MscNr (0..255);
+	type integer Cs7Nr (0..255);
 
 	type charstring BtsGprsMode ("none", "gprs", "egrps");
 
@@ -135,6 +136,11 @@
 		f_vty_transceive(pt, "msc " & int2str(msc));
 	}
 
+	function f_vty_enter_cfg_cs7_inst(TELNETasp_PT pt, Cs7Nr cs7_inst := 0) {
+		f_vty_enter_config(pt);
+		f_vty_transceive(pt, "cs7 instance " & int2str(cs7_inst));
+	}
+
 type record of charstring rof_charstring;
 function f_vty_config2(TELNETasp_PT pt, rof_charstring config_nodes, charstring cmd)
 {