IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 25, 2004, 11:51:46 AM (22 years ago)
Author:
desonia
Message:

added regression test for psRealloc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr

    r1075 r1097  
    1717 <DATE> <TIME> <HOST> |I|  TPOutOfMemory|Upon requesting more memory than is available, psalloc shall call the psMemExhaustedCallback.
    1818 <DATE> <TIME> <HOST> |I|TPOutOfMemoryEx|Custom MemExhaustedCallback was invoked.
    19  <DATE> <TIME> <HOST> |A|      p_psAlloc|Failed to allocate 4294966295 bytes at tst_psMemory.c:166
     19 <DATE> <TIME> <HOST> |A|      p_psAlloc|Failed to allocate 4294966295 bytes at tst_psMemory.c:207
    2020
    2121---> TESTPOINT PASSED (psMemory{450-TPOutOfMemory} | tst_psMemory.c)
     22
     23/***************************** TESTPOINT ******************************************\
     24*             TestFile: tst_psMemory.c                                             *
     25*            TestPoint: psMemory{562-TPReallocOutOfMemory}                         *
     26*             TestType: Positive                                                   *
     27\**********************************************************************************/
     28
     29 <DATE> <TIME> <HOST> |I|TPReallocOutOfM|Upon requesting more memory than is available, psRealloc shall call the psMemExhaustedCallback.
     30 <DATE> <TIME> <HOST> |I|TPOutOfMemoryEx|Custom MemExhaustedCallback was invoked.
     31 <DATE> <TIME> <HOST> |A|    p_psRealloc|Failed to reallocate -1001 bytes at tst_psMemory.c:172
     32
     33---> TESTPOINT PASSED (psMemory{562-TPReallocOutOfMemory} | tst_psMemory.c)
    2234
    2335/***************************** TESTPOINT ******************************************\
     
    5971 <DATE> <TIME> <HOST> |I|   TPcheckLeaks|following psMemCheckLeaks call should produce one instance.
    6072                   file:line ID
    61          tst_psMemory.c:316  1
     73         tst_psMemory.c:357  1
    6274 <DATE> <TIME> <HOST> |I|   TPcheckLeaks|Testing psMemCheckLeaks again with a different leak location
    6375 <DATE> <TIME> <HOST> |I|   TPcheckLeaks|following psMemCheckLeaks call should produce one error.
    6476                   file:line ID
    65          tst_psMemory.c:346  11
     77         tst_psMemory.c:387  11
    6678 <DATE> <TIME> <HOST> |I|   TPcheckLeaks|Testing psMemCheckLeaks again with multiple leak locations.
    6779 <DATE> <TIME> <HOST> |I|   TPcheckLeaks|following psMemCheckLeaks call should produce two errors.
    6880                   file:line ID
    69          tst_psMemory.c:374  16
    70          tst_psMemory.c:374  14
     81         tst_psMemory.c:415  16
     82         tst_psMemory.c:415  14
    7183
    7284---> TESTPOINT PASSED (psMemory{454-TPcheckLeaks} | tst_psMemory.c)
     
    8193 <DATE> <TIME> <HOST> |I|TPmemCorruption|psMemCheckCorruption should output an error message and memProblemCallback callback should be called.
    8294 <DATE> <TIME> <HOST> |E|psMemCheckCorru|psMemCheckCorruption: memory block 1 is corrupted (buffer underflow)
    83  <DATE> <TIME> <HOST> |I|memProblemCallb|memory callback called for id 1 (psMemCheckCorruption:226).
     95 <DATE> <TIME> <HOST> |I|memProblemCallb|memory callback called for id 1 (psMemCheckCorruption:221).
    8496
    8597---> TESTPOINT PASSED (psMemory{455-TPmemCorruption} | tst_psMemory.c)
Note: See TracChangeset for help on using the changeset viewer.