osmo-ttcn3-hacks/ggsn_tests
Harald Welte 5dc20d7417 ggsn: Avoid dynamic test case error
During TC_addr_pool_exhaustion, if all of the pdp context activations
were unsuccessful, teic_list is an empty list. We therefore cannot
unconditionally obtain its first element.

This patch avoids the related "Index overflow in a value of type
@PreGenRecordOf.PREGEN_RECORD_OF_OCTETSTRING: The index is 0, but the
value has only 0 elements."

Related: OS#6423
Change-Id: I7c7a84ed8343fb48e841248f86d37972f4674ed0
2024-03-26 14:35:25 +01:00
..
GGSN_Tests.cfg ggsn: Speed up tests by lowering retransmission T3,N3 timers 2023-04-18 10:01:02 +00:00
GGSN_Tests.default Split GTP_CodecPort/GTP_Templates into C and U variants 2024-03-01 10:28:22 +00:00
GGSN_Tests.ttcn ggsn: Avoid dynamic test case error 2024-03-26 14:35:25 +01:00
README.md Update README.md of several TTCN3 test suites 2019-11-15 18:49:09 +00:00
expected-results.xml ggsn: Introduce test TC_pdp_act2_recovery 2019-08-23 19:13:34 +02:00
gen_links.sh ggsn_tests: Split out generic ICMP(v6) related templates and functions 2024-03-04 21:47:55 +00:00
osmo-ggsn.cfg ggsn: Speed up tests by lowering retransmission T3,N3 timers 2023-04-18 10:01:02 +00:00
regen_makefile.sh Split GTP_CodecPort/GTP_Templates into C and U variants 2024-03-01 10:28:22 +00:00

README.md

GGSN_Tests.ttcn

  • external interfaces
    • Gp: GTP (emulates SGSN)
    • Gi: IP (emulates Internet)
    • VTY

{% dot ggsn_tests.svg digraph G { rankdir=LR; GGSN [label="GGSN\nosmo-ggsn",shape="box"]; ATS [label="ATS\nGGSN_Tests.ttcn"];

ATS -> GGSN [label="Gp (GTP)"]; GGSN -> ATS [label="Gi (IP)"]; ATS -> GGSN [label="VTY"]; } %}