From 66ed5ff77748888b4df8fa0696e74679c241c04c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 15 Jul 2010 13:54:54 +0000 Subject: 2010-07-15 Bharath Suri PR 1617/testing * malloctest/init.c: Added new case to exercise _realloc_r. --- testsuites/libtests/ChangeLog | 5 +++++ testsuites/libtests/malloctest/init.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'testsuites/libtests') 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 + + PR 1617/testing + * malloctest/init.c: Added new case to exercise _realloc_r. + 2010-07-15 Sebastian Huber * 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 -- cgit v1.2.3