Mercurial > ecos-v3_0-branch
diff packages/services/memalloc/common/current/tests/realloc.c @ 134:d2f49caf9e38 ecos-sw-2000-11-03
Merge from eCos master repository on 2000-11-03-09:00:49-GMT
| author | jlarmour |
|---|---|
| date | Fri, 03 Nov 2000 21:17:40 +0000 |
| parents | 518f42066aba |
| children | 0d2b193a635f |
line wrap: on
line diff
--- a/packages/services/memalloc/common/current/tests/realloc.c +++ b/packages/services/memalloc/common/current/tests/realloc.c @@ -168,7 +168,7 @@ main( int argc, char *argv[] ) CYG_TEST_PASS_FAIL( fill_with_alphabet( str, size/4, 1 ), "reallocation quarter size usability"); - CYG_TEST_PASS_FAIL( realloc( str, size*100 ) == NULL, + CYG_TEST_PASS_FAIL( realloc( str, size*4 ) == NULL, "reallocing allocation that is too large" ); CYG_TEST_PASS_FAIL( compare_with_alphabet( str, size/4, 1 ), "Checking old contents maintained despite failure" );
