aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2017-10-14Add unit tests for libgtp gtpie.[ch] functionsHarald Welte1-0/+1
This doesn't yet cover all the functions in gtpie.[ch], but testing half of them is better than not testing any of them, so let's merge this current state with a couple of TDOO's on what we still need to test. Change-Id: I30a6dd8a01b7a074ef2d3936d186dfff6c79e6c0
2017-10-13Add ippool unit-test for 'make check' runsHarald Welte1-0/+40
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