[PATCH] osmo-ttcn3-hacks[master]: bts: f_validate_si_scheduling(): Print correct TC value

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
Fri Mar 2 09:35:35 UTC 2018


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

bts: f_validate_si_scheduling(): Print correct TC value

We always claimed "No SI messages for TC=0" even in cases where
TC is actually a different value.

Change-Id: I53e357c21b3f1090e4e396e292fcd193581d5bb8
---
M bts/BTS_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/61/7061/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 83688b9..e0e8ac4 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1371,7 +1371,7 @@
 	var integer i;
 	for (i := 0; i < sizeof(si_per_tc); i := i + 1) {
 		if (sizeof(si_per_tc[i]) == 0) {
-			setverdict(fail, "No SI messages for TC=0!");
+			setverdict(fail, "No SI messages for TC=", i);
 		}
 	}
 	if (cfg.si1_present) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53e357c21b3f1090e4e396e292fcd193581d5bb8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list