Changeset 846
- Timestamp:
- Jun 3, 2004, 3:56:52 PM (22 years ago)
- Location:
- trunk/psLib/test/sysUtils
- Files:
-
- 2 edited
-
tst_psMemory.c (modified) (2 diffs)
-
verified/tst_psMemory.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psMemory.c
r829 r846 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-06-0 2 20:02:42$8 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-06-04 01:56:51 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 168 168 cb = psMemExhaustedCallbackSet(TPOutOfMemoryExhaustedCallback); 169 169 170 mem1 = (int*) psAlloc( LONG_MAX/2);171 mem2 = (int*) psAlloc( LONG_MAX/2);172 mem3 = (int*) psAlloc( LONG_MAX/2);173 mem4 = (int*) psAlloc( LONG_MAX/2);170 mem1 = (int*) psAlloc(INT_MAX); 171 mem2 = (int*) psAlloc(INT_MAX); 172 mem3 = (int*) psAlloc(INT_MAX); 173 mem4 = (int*) psAlloc(INT_MAX); 174 174 175 175 psMemExhaustedCallbackSet(cb); -
trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr
r829 r846 17 17 <DATE> <TIME> <HOST> |I|TPOutOfMemory |Upon requesting more memory than is available, psalloc shall call the psMemExhaustedCallback. 18 18 <DATE> <TIME> <HOST> |I|TPOutOfMemoryExhaustedCallback|Custom MemExhaustedCallback was invoked. 19 <DATE> <TIME> <HOST> |A|p_psAlloc |Failed to allocate 4611686018427387903bytes at tst_psMemory.c:17019 <DATE> <TIME> <HOST> |A|p_psAlloc |Failed to allocate 2147483647 bytes at tst_psMemory.c:170 20 20 21 21 ---> TESTPOINT PASSED (psMemory{450-TPOutOfMemory} | tst_psMemory.c)
Note:
See TracChangeset
for help on using the changeset viewer.
