Max has submitted this change and it was merged. ( 
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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I8ed87f26216104d34c7bd11c1527b203843760a2
Gerrit-Change-Number: 12558
Gerrit-PatchSet: 2
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>

Reply via email to