tests/behaviour: Add a test for stressing jtrans_add_[rw]()next
commit6fb21b1012c0b947760f1b42dfde50d2500b2626
authorAlberto Bertogli <albertito@blitiri.com.ar>
Sun, 27 Feb 2011 21:22:37 +0000 (27 21:22 +0000)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Sun, 27 Feb 2011 21:23:48 +0000 (27 21:23 +0000)
treed6d6324f9aad6bc02e809d5bb4bdd6f29f6e3d82
parentbbe7a88cb5fcdeed48154282879fddecaa488c8c
tests/behaviour: Add a test for stressing jtrans_add_[rw]()

This patch adds a test which stresses jtrans_add_[rw]() by creating
50 * 5 operations with those functions.

This would have caught the bug fixed in commit 251fcad (bindings/python: Fix
broken realloc() new size, 2011-02-27).

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
tests/behaviour/t_normal.py