[MERGED] osmo-ttcn3-hacks[master]: ggsn: Fix typo: 'gptu' -> 'gtpu'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Apr 26 09:09:33 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: ggsn: Fix typo: 'gptu' -> 'gtpu'
......................................................................


ggsn: Fix typo: 'gptu' -> 'gtpu'

Change-Id: I1da2e0da6b94dc43c742ec551d3b5de100ce405f
---
M ggsn_tests/GGSN_Tests.ttcn
1 file changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index ba8fae5..cb6aabf 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -93,7 +93,7 @@
 		var uint16_t g_d_seq_nr;
 
 		port TELNETasp_PT GGSNVTY;
-		var boolean use_gptu_txseq := true;
+		var boolean use_gtpu_txseq := true;
 	}
 
 	private function f_init_vty() runs on GT_CT {
@@ -153,7 +153,7 @@
 		g_d_seq_nr := f_rnd_int(65535);
 
 		f_init_vty();
-		f_vty_set_gpdu_txseq(use_gptu_txseq);
+		f_vty_set_gpdu_txseq(use_gtpu_txseq);
 	}
 
 	/* Altstep implementing responses to any incoming echo requests */
@@ -208,7 +208,7 @@
 
 	/* send GTP-U for a given context and increment sequence number */
 	function f_send_gtpu(inout PdpContext ctx, in octetstring data) runs on GT_CT {
-		if (use_gptu_txseq) {
+		if (use_gtpu_txseq) {
 			GTPU.send(ts_GTP1U_GPDU(g_peer_u, g_d_seq_nr, ctx.teid_remote, data));
 			g_d_seq_nr := g_d_seq_nr + 1;
 		} else {
@@ -603,7 +603,7 @@
 		T_default.start;
 		alt {
 			[] GTPU.receive(tr_GTPU_GPDU(g_peer_u, ?)) -> value ud {
-				if (f_verify_gtpu_txseq(ud.gtpu, use_gptu_txseq) == false) {
+				if (f_verify_gtpu_txseq(ud.gtpu, use_gtpu_txseq) == false) {
 					setverdict(fail);
 					stop;
 				}
@@ -639,7 +639,7 @@
 		T_default.start;
 		alt {
 			[] GTPU.receive(tr_GTPU_GPDU(g_peer_u, ?)) -> value ud {
-				if (f_verify_gtpu_txseq(ud.gtpu, use_gptu_txseq) == false) {
+				if (f_verify_gtpu_txseq(ud.gtpu, use_gtpu_txseq) == false) {
 					setverdict(fail);
 					stop;
 				}
@@ -910,13 +910,13 @@
 
 	/* Validate if different clients (pdp ctx) can reach one another through GGSN. */
 	testcase TC_pdp4_clients_interact_with_txseq() runs on GT_CT {
-		use_gptu_txseq := true;
+		use_gtpu_txseq := true;
 		f_pdp4_clients_interact();
 	}
 
 	/* Validate if different clients (pdp ctx) can reach one another through GGSN (without Tx sequence number). */
 	testcase TC_pdp4_clients_interact_without_txseq() runs on GT_CT {
-		use_gptu_txseq := false;
+		use_gtpu_txseq := false;
 		f_pdp4_clients_interact();
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/7934
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1da2e0da6b94dc43c742ec551d3b5de100ce405f
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list