[MERGED] osmo-bts[master]: dtx_check.gawk: add check for repetitive SID FIRST

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
Tue Nov 8 19:33:30 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: dtx_check.gawk: add check for repetitive SID FIRST
......................................................................


dtx_check.gawk: add check for repetitive SID FIRST

Change-Id: Id7acdfae7880fb488b65435ab8d33f2874499967
---
M contrib/dtx_check.gawk
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/contrib/dtx_check.gawk b/contrib/dtx_check.gawk
index 3a3fa26..9a3ddcf 100755
--- a/contrib/dtx_check.gawk
+++ b/contrib/dtx_check.gawk
@@ -40,6 +40,10 @@
 			CHK = "FAIL: " TYPE " followed by " $2 " instead of P2."
 			ERR++
 		}
+		if ("FIRST" == $2 && "FIRST" == TYPE) {
+			CHK = "FAIL: multiple SID FIRST in a row."
+			ERR++
+		}
 		if ("OK" == CHK && "ONSET" != $2) { # check inter-SID distances:
 			if ("UPDATE" == TYPE) {
 				if (DELTA > U_MAX) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id7acdfae7880fb488b65435ab8d33f2874499967
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list