summaryrefslogtreecommitdiffstats
path: root/bsc/BSC_Tests.ttcn
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-06-14 15:15:46 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-24 19:05:10 +0000
commitc307e689b4a3e9249844eb253cc79839e2fc3030 (patch)
treec334b839ccb7b9f3245d01c48d891c2a390d4a0a /bsc/BSC_Tests.ttcn
parentc290d7292e43b1f67c61ecb4a58081545e562cb5 (diff)
introduce a TTCN3 test suite for SCCP
This test suite acts as an SCCP server on top of M3UA. SCCP tests are run against the sccp_demo_user program which can be found in libosmo-sccp/examples. This program must be started in client mode: sccp_demo_user -c The SCCP test suite should then work out of the box with the provided SCCP_Tests.cfg file and this additional change to sccp_demo_user default point codes: https://gerrit.osmocom.org/#/c/libosmo-sccp/+/9652/ There is currently only one test, for the libosmo-sccp crash reported as issue OS#2666. The implementation of this test is currently using an ugly workaround due to shortcomings of the M3UA Emulation layer (see source code comments). Whether a better solution is feasible is still to be determined. The test requires a patch to the SCCP Protocol Emulation which has been submitted upstream: https://git.eclipse.org/r/#/c/124552/ Change-Id: I03f5e8b282a7396b45417495c88d8fb81b26cda8 Related: OS#2666
Diffstat (limited to 'bsc/BSC_Tests.ttcn')
-rw-r--r--bsc/BSC_Tests.ttcn1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index d71d3dc..9412251 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -46,6 +46,7 @@ import from MobileL3_Types all;
import from L3_Templates all;
import from GSM_RR_Types all;
+import from SCCP_Templates all;
import from BSSMAP_Templates all;
const integer NUM_BTS := 3;