Changeset 722 for trunk/psLib/test/sysUtils/tst_psMemory.c
- Timestamp:
- May 18, 2004, 2:09:25 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psMemory.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psMemory.c
r721 r722 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-05-1 8 23:35:25 $8 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-05-19 00:09:25 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 57 57 { 58 58 psSetLogLevel(PS_LOG_INFO); 59 59 60 if (! runTestSuite(stderr,"psMemory",tests)) { 60 61 psAbort(__FILE__,"One or more tests failed"); … … 173 174 cb = psMemExhaustedCallbackSet(TPOutOfMemoryExhaustedCallback); 174 175 175 mem1 = (int*) psAlloc( UINT_MAX);176 mem2 = (int*) psAlloc( UINT_MAX);177 mem3 = (int*) psAlloc( UINT_MAX);178 mem4 = (int*) psAlloc( UINT_MAX);176 mem1 = (int*) psAlloc(LONG_MAX/2); 177 mem2 = (int*) psAlloc(LONG_MAX/2); 178 mem3 = (int*) psAlloc(LONG_MAX/2); 179 mem4 = (int*) psAlloc(LONG_MAX/2); 179 180 180 181 psMemExhaustedCallbackSet(cb);
Note:
See TracChangeset
for help on using the changeset viewer.
