cmocka: Add a test_realloc() function.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2 files changed