libosmocore/tests
Pablo Neira Ayuso 9ebc5056b4 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.
2011-10-17 13:25:29 +02:00
..
bits add functions for bit-reversal 2011-09-01 14:47:31 +02:00
msgfile msgfile: use namespace prefix osmo_* and use more descriptive names 2011-05-07 13:14:41 +02:00
sms sms: SMS where cropped (from VTY), concatenation of SMS where not possible 2011-07-24 20:14:13 +02:00
smscb include: reorganize headers file to include/osmocom/[gsm|core] 2011-03-23 18:09:28 +01:00
timer tests: add new torture test for timer infrastructure 2011-10-17 13:25:29 +02:00
ussd include: reorganize headers file to include/osmocom/[gsm|core] 2011-03-23 18:09:28 +01:00
Makefile.am add functions for bit-reversal 2011-09-01 14:47:31 +02:00