libosmocore/tests/tlv
Stefan Sperling c9bebbd325 add a regression test for TLV parsing with repeated IEs
Since commit bf383a1d83 tlv_parse()
will return the first occurrence of a repeated IE. Add a test to
verify this behaviour. This test passes with the current code and
fails if bf383a1d83 is reverted.

While here, fix lies in documentation about the return value of tlv_parse()
and fix a typo in another comment.

Change-Id: I041f38548c5e4236920991d6c681c1c1e04de9ca
Related: OS#2904
2018-03-16 16:58:19 +01:00
..
tlv_test.c add a regression test for TLV parsing with repeated IEs 2018-03-16 16:58:19 +01:00
tlv_test.ok tlv: Import osmo_shift_* and osmo_match_shift_* from openbsc 2016-05-05 18:49:27 +02:00