aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-09-26 11:46:32 +0200
committerHarald Welte <laforge@gnumonks.org>2011-10-17 13:25:29 +0200
commit9ebc5056b464ffd8384cdd8302361d997cafcfbc (patch)
tree3337f6a15938010fb44048d24dcf2b9e1e2833f0 /src/Makefile.am
parent066c912fd3b4554d4475ae0837c1d62ef6c872d1 (diff)
tests: add new torture test for timer infrastructure
This is a new test for the timer infrastructure. It basically consists of adding 2^N timers per step (where N is the number of step) that expire in (random() % 10) + 1 seconds. Moreover, we randomly delete timers that fulfill (random() % 100) < 10 everytime one timer expires. The default number of steps is 16, the test also allows to check for timer imprecisions (currently, defaulting to 10ms as aceptable). The list-based implementation crashes or it seems loop forever with this test (I guess due to some memory corruption). BTW, this patch contains one cosmetic clean up since we go back to 8-chars per indentations, which seems to be the policy in osmocom.
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions