[PATCH] 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/.

Max gerrit-no-reply at lists.osmocom.org
Tue Nov 8 15:10:09 UTC 2016


Review at  https://gerrit.osmocom.org/1211

dtx_check.gawk: add check for repetitive SID FIRST

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/11/1211/1

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: newchange
Gerrit-Change-Id: Id7acdfae7880fb488b65435ab8d33f2874499967
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list