summaryrefslogtreecommitdiffstats
path: root/msc
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 /msc
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 'msc')
-rw-r--r--msc/MSC_Tests.ttcn2
-rwxr-xr-xmsc/gen_links.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 63cab84..1427fd0 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -51,6 +51,8 @@ import from SMPP_Types all;
import from SMPP_Templates all;
import from SMPP_Emulation all;
+import from SCCP_Templates all;
+
import from SS_Types all;
import from SS_Templates all;
import from USSD_Helpers all;
diff --git a/msc/gen_links.sh b/msc/gen_links.sh
index 8b40268..d8a7d22 100755
--- a/msc/gen_links.sh
+++ b/msc/gen_links.sh
@@ -90,7 +90,7 @@ FILES+="BSSMAP_Emulation.ttcn BSSAP_CodecPort.ttcn BSSMAP_Templates.ttcn BSSAP_A
FILES+="RTP_CodecPort.ttcn RTP_CodecPort_CtrlFunctDef.cc "
FILES+="MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunctDef.cc "
FILES+="SMPP_CodecPort.ttcn SMPP_CodecPort_CtrlFunct.ttcn SMPP_CodecPort_CtrlFunctDef.cc SMPP_Emulation.ttcn SMPP_Templates.ttcn "
-FILES+="SS_Templates.ttcn "
+FILES+="SS_Templates.ttcn SCCP_Templates.ttcn"
gen_links $DIR $FILES
ignore_pp_results