aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-03-18 13:45:42 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2022-03-18 17:36:46 +0100
commitfffd7c345befae07b8fc0b96a51d64947f50d6c9 (patch)
treed56d402f8953697fe1abdb6e3c5746d2b0a17288 /tests
parenta3987fcf3918a1ff9e030848f3d42bee39dfc364 (diff)
gsm0808: Fix decoding of IE GSM0808_IE_LCS_CLIENT_TYPE
Diffstat (limited to 'tests')
-rw-r--r--tests/gsm0808/gsm0808_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c
index 38c68bf0..158aeba9 100644
--- a/tests/gsm0808/gsm0808_test.c
+++ b/tests/gsm0808/gsm0808_test.c
@@ -474,7 +474,7 @@ static void test_dec_perform_location_report_sys5891()
printf("Testing decoding Perform Location Report SYS#5891\n");
rc = tlv_parse(&tp, gsm0808_att_tlvdef(), hex+1, sizeof(hex)-1, 0, 0);
- OSMO_ASSERT(rc < 0);
+ OSMO_ASSERT(rc == 5);
}
static void test_create_ass()