summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloctest/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-27 21:50:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-27 21:50:05 +0000
commit991efb611cf611abb8568cb03133b8723899f605 (patch)
tree3c38e23decce388f4fcb337a396261e88051d86b /testsuites/libtests/malloctest/init.c
parent2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-991efb611cf611abb8568cb03133b8723899f605.tar.bz2
2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix return status check.
Diffstat (limited to '')
-rw-r--r--testsuites/libtests/malloctest/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index dc1f0cf39d..e6400f4dec 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -198,7 +198,7 @@ void test_heap_info(void)
puts( "malloc_info - check free space drops after malloc" );
sc = malloc_info( &the_info );
- rtems_test_assert( sc == -1 );
+ rtems_test_assert( sc == 0 );
s1 = the_info.Free.largest;
p1 = malloc( 512 );