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 <[email protected]>