Change in libosmocore[master]: LCLS: expand enc/dec tests

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
Mon Jan 14 18:32:10 UTC 2019


Max has uploaded this change for review. ( https://gerrit.osmocom.org/12558


Change subject: LCLS: expand enc/dec tests
......................................................................

LCLS: expand enc/dec tests

Change-Id: I8ed87f26216104d34c7bd11c1527b203843760a2
---
M tests/gsm0808/gsm0808_test.c
1 file changed, 12 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/58/12558/1

diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c
index 40e2b87..b3cab50 100644
--- a/tests/gsm0808/gsm0808_test.c
+++ b/tests/gsm0808/gsm0808_test.c
@@ -720,6 +720,18 @@
 		abort();
 	}
 
+	if (lcls_out.config != lcls_in.config) {
+		printf("LCLS Config parsed wrong: %s != %s\n",
+		       gsm0808_lcls_config_name(lcls_out.config), gsm0808_lcls_config_name(lcls_in.config));
+                abort();
+        }
+
+	if (lcls_out.control != lcls_in.control) {
+		printf("LCLS Control parsed wrong: %s != %s\n",
+		       gsm0808_lcls_control_name(lcls_out.control), gsm0808_lcls_control_name(lcls_in.control));
+                abort();
+        }
+
 	if (lcls_out.gcr->net_len != g.net_len) {
 		printf("Network ID length parsed wrong: %u != %u\n", lcls_out.gcr->net_len, g.net_len);
 		abort();

-- 
To view, visit https://gerrit.osmocom.org/12558
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ed87f26216104d34c7bd11c1527b203843760a2
Gerrit-Change-Number: 12558
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190114/8e096385/attachment.htm>


More information about the gerrit-log mailing list