summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-15 13:54:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-15 13:54:54 +0000
commit66ed5ff77748888b4df8fa0696e74679c241c04c (patch)
tree10082d534c51ac3e2927c06bea8b60bd6547b20d /testsuites
parent2010-07-15 Bharath Suri <bharath.s.jois@gmail.com> (diff)
downloadrtems-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')
-rw-r--r--testsuites/libtests/ChangeLog5
-rw-r--r--testsuites/libtests/malloctest/init.c2
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