diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-15 13:54:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-15 13:54:54 +0000 |
commit | 66ed5ff77748888b4df8fa0696e74679c241c04c (patch) | |
tree | 10082d534c51ac3e2927c06bea8b60bd6547b20d /testsuites/libtests/malloctest | |
parent | 2010-07-15 Bharath Suri <bharath.s.jois@gmail.com> (diff) | |
download | rtems-66ed5ff77748888b4df8fa0696e74679c241c04c.tar.bz2 |
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
PR 1617/testing
* malloctest/init.c: Added new case to exercise _realloc_r.
Diffstat (limited to 'testsuites/libtests/malloctest')
-rw-r--r-- | testsuites/libtests/malloctest/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |