[PATCH] openbsc[master]: Add test-case which breaks range1024 encoding

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
Thu Dec 8 12:44:16 UTC 2016


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

Add test-case which breaks range1024 encoding

Change-Id: I99f917d80232b63d1bb518842c24517b3dd18be4
---
M openbsc/tests/gsm0408/gsm0408_test.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/73/1373/1

diff --git a/openbsc/tests/gsm0408/gsm0408_test.c b/openbsc/tests/gsm0408/gsm0408_test.c
index 9e7babb..0b5ca06 100644
--- a/openbsc/tests/gsm0408/gsm0408_test.c
+++ b/openbsc/tests/gsm0408/gsm0408_test.c
@@ -226,6 +226,7 @@
 	int arfcns_num;
 	int arfcns[RANGE_ENC_MAX_ARFCNS];
 } arfcn_test_ranges[] = {
+	{ARFCN_RANGE_1024, 2, { 319, 319 }},
 	{ARFCN_RANGE_512, 12,
 		{ 1, 12, 31, 51, 57, 91, 97, 98, 113, 117, 120, 125 }},
 	{ARFCN_RANGE_512, 17,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I99f917d80232b63d1bb518842c24517b3dd18be4
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list