X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fmalloc.c;h=769c447fbf19c044d3fba2eaeb8cdb3728b7d557;hb=22b64ead4cdb08b34e3db82fa1fb1c6095f6b0e9;hp=2286d0d3c00273c7717faddf802c1652cf60094c;hpb=831a440426dcd5b6da5a7d4de757ab6ea50b3b4a;p=pdclib.old diff --git a/functions/stdlib/malloc.c b/functions/stdlib/malloc.c index 2286d0d..769c447 100644 --- a/functions/stdlib/malloc.c +++ b/functions/stdlib/malloc.c @@ -165,8 +165,6 @@ void * sbrk( intptr_t ); int main( void ) { #ifndef REGTEST - printf( "Start of malloc() testing...\n" ); - { void * ptr1, * ptr2, * ptr3, * ptr4, * ptr5, * ptr6, * ptr7, * ptr8, * ptr9; char * pages_start = _PDCLIB_allocpages( 0 ); /* allocating 10 byte; expected: 1 page allocation, node split */ @@ -239,10 +237,8 @@ int main( void ) TESTCASE( memset( ptr9, 0, 4072 ) == ptr9 ); TESTCASE( PAGETEST( 9 ) ); NODETRACE( 17 ); - printf( "End of malloc() testing.\n" ); - } #else - puts( "No testing of malloc() - test driver does not know internals of system function." ); + puts( " NOTEST malloc() test driver is PDCLib-specific." ); #endif return TEST_RESULTS; }