IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1243


Ignore:
Timestamp:
Jul 19, 2004, 2:00:21 PM (22 years ago)
Author:
desonia
Message:

added test for multiple frees.

File:
1 edited

Legend:

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

    r1240 r1243  
    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:208
     19 <DATE> <TIME> |<HOST>|A|      p_psAlloc|Failed to allocate 4294966295 bytes at tst_psMemory.c:210
    2020
    2121---> TESTPOINT PASSED (psMemory{outOfMemory} | tst_psMemory.c)
     
    2828
    2929 <DATE> <TIME> |<HOST>|I|TPReallocOutOfM|Upon requesting more memory than is available, psRealloc shall call the psMemExhaustedCallback.
    30  <DATE> <TIME> |<HOST>|A|    p_psRealloc|Failed to reallocate -1001 bytes at tst_psMemory.c:173
     30 <DATE> <TIME> |<HOST>|A|    p_psRealloc|Failed to reallocate -1001 bytes at tst_psMemory.c:175
    3131
    3232---> TESTPOINT PASSED (psMemory{reallocOutOfMemory} | tst_psMemory.c)
     
    7070 <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|following psMemCheckLeaks call should produce one instance.
    7171                   file:line ID
    72          tst_psMemory.c:358  1
     72         tst_psMemory.c:360  1
    7373 <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|Testing psMemCheckLeaks again with a different leak location
    7474 <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|following psMemCheckLeaks call should produce one error.
    7575                   file:line ID
    76          tst_psMemory.c:388  11
     76         tst_psMemory.c:390  11
    7777 <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|Testing psMemCheckLeaks again with multiple leak locations.
    7878 <DATE> <TIME> |<HOST>|I|   TPcheckLeaks|following psMemCheckLeaks call should produce two errors.
    7979                   file:line ID
    80          tst_psMemory.c:416  16
    81          tst_psMemory.c:416  14
     80         tst_psMemory.c:418  16
     81         tst_psMemory.c:418  14
    8282
    8383---> TESTPOINT PASSED (psMemory{checkLeaks} | tst_psMemory.c)
     
    107107---> TESTPOINT PASSED (psMemory{freeReferencedMemory} | tst_psMemory.c)
    108108
     109/***************************** TESTPOINT ******************************************\
     110*             TestFile: tst_psMemory.c                                             *
     111*            TestPoint: psMemory{multipleFree}                                     *
     112*             TestType: Positive                                                   *
     113\**********************************************************************************/
     114
     115 <DATE> <TIME> |<HOST>|I| TPmultipleFree|Next should be an error about multiple freeing.
     116 <DATE> <TIME> |<HOST>|E|  checkMemBlock|Memory Corruption: memory block 1 was freed but still used.
     117 <DATE> <TIME> |<HOST>|E|memProblemCallb|Block 1 allocated at tst_psMemory.c:529 freed more than once at tst_psMemory.c:534
     118 <DATE> <TIME> |<HOST>|A|memProblemCallb|Detected a problem in the memory system at tst_psMemory.c:534
     119
     120---> TESTPOINT PASSED (psMemory{multipleFree} | tst_psMemory.c)
     121
Note: See TracChangeset for help on using the changeset viewer.