diff options
-rw-r--r-- | testsuites/libtests/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/libtests/malloctest/init.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index 40c6a85307..e028a88cf0 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,3 +1,8 @@ +2010-07-15 Bharath Suri <bharath.s.jois@gmail.com> + + PR 1617/testing + * malloctest/init.c: Added new case to exercise _realloc_r. + 2010-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de> * malloctest/init.c: Added test for diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c index e0cb60be01..82a75fe5b5 100644 --- a/testsuites/libtests/malloctest/init.c +++ b/testsuites/libtests/malloctest/init.c @@ -112,6 +112,8 @@ static void test_realloc(void) * Realloc with a bad pointer to force a point */ p4 = realloc( test_realloc, 32 ); + + p4 = _realloc_r( NULL, NULL, 1 ); } #define TEST_HEAP_SIZE 2048 |