aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-10-13Add unit tests for lib/in46_addr.c codeHarald Welte3-2/+294
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
2017-10-13Add ippool unit-test for 'make check' runsHarald Welte4-0/+66697
This test creates a variety of v4 (and one v6) pool and performs allocations until the pool is full, then frees a random number of randomly distributed addresses, re-allocates them and again checks that they're all available and finally once the pool is full allocations fail. Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94