msc: fix f_tc_mt_crcx_ran_reject(): properly handle Iu-ReleaseCommand

Previous commit [1] uncovers a problem in f_tc_mt_crcx_ran_reject():
this function uses as_clear_cmd_compl_disc(), which is expecting
A-interface (GERAN) specific BSSMAP Clear Command.  The Iu-interface
(UTRAN) specific RANAP Iu-ReleaseCommand is not handled at all.

The testcase was passing so far due to a bug in as_optional_cc_rel(),
which would unblock the alt-statemtnt on receipt of CC RELEASE, so
that we would never respond to RANAP Iu-ReleaseCommand.

Let's derive a new altstep from f_expect_clear() and use it.

Change-Id: Idd679bbf720a56a76cf37ab414b1e6d90e53278b
Related: [1] I0143b4d33b1ebe4cce99c09018540524c4626eec
2 files changed
tree: ac5647c14f5a4a22da5be92c3b130f34a97b927e
  1. .github/
  2. asn-test/
  3. bin/
  4. bsc/
  5. bsc-nat/
  6. bts/
  7. cbc/
  8. ccid/
  9. COMMON/
  10. deps/
  11. dia2gsup/
  12. doc/
  13. epdg/
  14. fr/
  15. fr-net/
  16. gbproxy/
  17. ggsn_tests/
  18. hlr/
  19. hnbgw/
  20. hnodeb/
  21. hss/
  22. lapdm/
  23. library/
  24. mgw/
  25. mme/
  26. msc/
  27. ns/
  28. pcap-client/
  29. pcu/
  30. pgw/
  31. remsim/
  32. ROHC_CNL113426_LATEST/
  33. sccp/
  34. SCCP_Test/
  35. selftest/
  36. sgsn/
  37. simtrace/
  38. sip/
  39. smlc/
  40. stp/
  41. sysinfo/
  42. upf/
  43. .checkpatch.conf
  44. .gitignore
  45. .gitreview
  46. Common.cfg
  47. compare-results.py
  48. gen_links.sh.inc
  49. log_merge.sh
  50. Makefile
  51. mask_expected_results.sh
  52. README.md
  53. regen-makefile.sh
  54. rmlinks.sh
  55. start-testsuite.sh
  56. ttcn3-dumpcap-start.sh
  57. ttcn3-dumpcap-stop.sh
  58. ttcn3-tcpdump-start.sh
  59. ttcn3-tcpdump-stop.sh
  60. update_expected_results_from_jenkins.sh
README.md

Osmocom TTCN-3 Test Suites

This repository contains a collection of test suites developed within the Osmocom (Open Source Mobile Communications) project. The test suites are developed in the TTCN-3 programming language, compiled/executed by the Eclipse TITAN compiler and runtime.

Those test suites mostly are performing functional testing of cellular network elements, from 2G, 3G, 4G to 5G. The individual test-suites are in sub-directories, while some shared library code is in library.

Continuous Integration

The individual tests suites are executed against different versions of the respective IUT (Implementation Under Test) by the Osmocom jenkins.

See the list of all TTCN-3 jenkins jobs for more details

Further reading

Some more information about those test suites can be found at https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites.