diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-03-16 15:59:01 +0100 |
---|---|---|
committer | Stefan Sperling <ssperling@sysmocom.de> | 2018-03-16 16:58:19 +0100 |
commit | c9bebbd325e567333486a90b92d16ee464a4458a (patch) | |
tree | 628400f620dcf364357352b749af1634c6cbe144 /src/gsm/abis_nm.c | |
parent | 483f386fd40bc2715a6e2c91b34e44ac1e0ae666 (diff) |
add a regression test for TLV parsing with repeated IEs
Since commit bf383a1d83661af26ccd6521c49b655fb22531d4 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 bf383a1d83661af26ccd6521c49b655fb22531d4 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
Diffstat (limited to 'src/gsm/abis_nm.c')
0 files changed, 0 insertions, 0 deletions