pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40308?usp=email )
Change subject: stp: Rename STP_Tests.ttcn -> STP_Tests_IPA_M3UA.ttcn ......................................................................
stp: Rename STP_Tests.ttcn -> STP_Tests_IPA_M3UA.ttcn
The previous name usually causes confusion since it seems to indicate either: * Some sort of common placeholder for STP_Tests_IPA and STP_Tests_M3UA (it's not the case, we already have STP_Tests_Common.ttcn for that) * A placeholder for tests not IPA or M3UA related (it's not the case, since it only contains IPA<->M3UA tests).
Hence, rename it to denote better the aim of that file, ie. testing forwarding between IPA and M3UA AS(P)s.
Change-Id: Id2963407adf11add01630c3899a062d764c8ad75 --- M stp/README.md M stp/STP_Tests.cfg M stp/STP_Tests_Common.ttcn M stp/STP_Tests_IPA.ttcn R stp/STP_Tests_IPA_M3UA.ttcn M stp/STP_Tests_M3UA.ttcn 6 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/08/40308/1
diff --git a/stp/README.md b/stp/README.md index 20a42b5..d79b741 100644 --- a/stp/README.md +++ b/stp/README.md @@ -1,4 +1,4 @@ -# STP_Tests.ttcn +# STP_Tests_*.ttcn
* external interfaces * M3UA/SCTP (can emulate both client and server side) @@ -9,7 +9,7 @@ digraph G { rankdir=LR; STP [label="IUT\nosmo-stp",shape="box"]; - ATS [label="ATS\nSTP_Tests.ttcn"]; + ATS [label="ATS\nSTP_Tests_*.ttcn"];
ATS -> STP [label="M3UA", dir="both"]; ATS -> STP [label="IPA", dir="both"]; diff --git a/stp/STP_Tests.cfg b/stp/STP_Tests.cfg index 945ef8f..169185e 100644 --- a/stp/STP_Tests.cfg +++ b/stp/STP_Tests.cfg @@ -17,4 +17,4 @@ [EXECUTE] STP_Tests_M3UA.control STP_Tests_IPA.control -STP_Tests.control +STP_Tests_IPA_M3UA.control diff --git a/stp/STP_Tests_Common.ttcn b/stp/STP_Tests_Common.ttcn index a540b10..463e935 100644 --- a/stp/STP_Tests_Common.ttcn +++ b/stp/STP_Tests_Common.ttcn @@ -10,9 +10,9 @@ * SPDX-License-Identifier: GPL-2.0-or-later */
-friend module STP_Tests; friend module STP_Tests_M3UA; friend module STP_Tests_IPA; +friend module STP_Tests_IPA_M3UA;
import from TELNETasp_PortType all; import from Osmocom_VTY_Functions all; diff --git a/stp/STP_Tests_IPA.ttcn b/stp/STP_Tests_IPA.ttcn index ae7e1da..b7da439 100644 --- a/stp/STP_Tests_IPA.ttcn +++ b/stp/STP_Tests_IPA.ttcn @@ -10,7 +10,7 @@ * SPDX-License-Identifier: GPL-2.0-or-later */
-friend module STP_Tests; +friend module STP_Tests_IPA_M3UA;
import from General_Types all; import from Osmocom_Types all; diff --git a/stp/STP_Tests.ttcn b/stp/STP_Tests_IPA_M3UA.ttcn similarity index 99% rename from stp/STP_Tests.ttcn rename to stp/STP_Tests_IPA_M3UA.ttcn index b7f6ec1..08ca5aa 100644 --- a/stp/STP_Tests.ttcn +++ b/stp/STP_Tests_IPA_M3UA.ttcn @@ -1,4 +1,4 @@ -module STP_Tests { +module STP_Tests_IPA_M3UA {
/* Osmocom STP test suite in in TTCN-3 * (C) 2019 Harald Welte laforge@gnumonks.org diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn index 0d2e87d..eddd0b1 100644 --- a/stp/STP_Tests_M3UA.ttcn +++ b/stp/STP_Tests_M3UA.ttcn @@ -11,7 +11,7 @@ * SPDX-License-Identifier: GPL-2.0-or-later */
-friend module STP_Tests; +friend module STP_Tests_IPA_M3UA;
import from General_Types all; import from Osmocom_Types all;