summaryrefslogtreecommitdiffstats
path: root/tests/utils/utils_test.c
Commit message (Collapse)AuthorAgeFilesLines
* osmo_hexparse: allow whitespace in parsed string, add ws testNeels Hofmeyr2017-02-141-0/+25
| | | | | | | | This is particularly useful for hex dumps containing spaces found in a log (e.g. osmo-nitb authentication rand token), which can now be passed in quotes to osmo-auc-gen without having to edit the spaces away. Change-Id: Ib7af07f674a2d26c8569acdee98835fb3e626c45
* utils: add hexparse testNeels Hofmeyr2017-02-141-0/+98
| | | | Change-Id: Ic95ab00b57d54905a235109561c00419161cf4bc
* ipa: Properly parse LV stream of a ID_GET requestHolger Hans Peter Freyther2015-06-021-0/+61
| | | | | | | | For some reason the structure is closer to be a LV (length and value). The value is actually a tag but it is counted inside the length. Introduce an overload of the parse function to provide an offset for the length. This will be taken from the returned length.
* utils: Add a simple testcase for osmo_hexdumpHolger Hans Peter Freyther2014-01-021-0/+47
This code makes a simple dump and tests for the corner case