IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 2, 2004, 10:02:42 AM (22 years ago)
Author:
desonia
Message:

Adjusted tests to the new behavior of psFree/psMemDecrRefCounter.

File:
1 edited

Legend:

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

    r725 r829  
    1717 <DATE> <TIME> <HOST> |I|TPOutOfMemory  |Upon requesting more memory than is available, psalloc shall call the psMemExhaustedCallback.
    1818 <DATE> <TIME> <HOST> |I|TPOutOfMemoryExhaustedCallback|Custom MemExhaustedCallback was invoked.
    19  <DATE> <TIME> <HOST> |A|p_psAlloc      |Failed to allocate 1073741823 bytes at tst_psMemory.c:178
     19 <DATE> <TIME> <HOST> |A|p_psAlloc      |Failed to allocate 4611686018427387903 bytes at tst_psMemory.c:170
    2020
    2121---> TESTPOINT PASSED (psMemory{450-TPOutOfMemory} | tst_psMemory.c)
     
    5959 <DATE> <TIME> <HOST> |I|TPcheckLeaks   |following psMemCheckLeaks call should produce one instance.
    6060                   file:line ID
    61          tst_psMemory.c:339  1
     61         tst_psMemory.c:333  1
    6262 <DATE> <TIME> <HOST> |I|TPcheckLeaks   |Testing psMemCheckLeaks again with a different leak location
    6363 <DATE> <TIME> <HOST> |I|TPcheckLeaks   |following psMemCheckLeaks call should produce one error.
    6464                   file:line ID
    65          tst_psMemory.c:369  11
     65         tst_psMemory.c:363  11
    6666 <DATE> <TIME> <HOST> |I|TPcheckLeaks   |Testing psMemCheckLeaks again with multiple leak locations.
    6767 <DATE> <TIME> <HOST> |I|TPcheckLeaks   |following psMemCheckLeaks call should produce two errors.
    6868                   file:line ID
    69          tst_psMemory.c:397  16
    70          tst_psMemory.c:397  14
     69         tst_psMemory.c:391  16
     70         tst_psMemory.c:391  14
    7171
    7272---> TESTPOINT PASSED (psMemory{454-TPcheckLeaks} | tst_psMemory.c)
     
    8080 <DATE> <TIME> <HOST> |I|TPmemCorruption|psMemCheckCorruption shall detect memory corruptions
    8181 <DATE> <TIME> <HOST> |I|TPmemCorruption|psMemCheckCorruption should output an error message and memProblemCallback callback should be called.
    82  <DATE> <TIME> <HOST> |E|psMemCheckCorruption|psMemCheckCorruption: memory block 1 is corrupted (buffer underflow 0xdeadbeef 0x2)
    83  <DATE> <TIME> <HOST> |I|memProblemCallback|memory callback called for id 1 (psMemCheckCorruption:226).
     82 <DATE> <TIME> <HOST> |E|psMemCheckCorruption|psMemCheckCorruption: memory block 1 is corrupted (buffer underflow 0xdeadbeef 0x2deadbeef)
     83 <DATE> <TIME> <HOST> |I|memProblemCallback|memory callback called for id 1 (psMemCheckCorruption:228).
    8484
    8585---> TESTPOINT PASSED (psMemory{455-TPmemCorruption} | tst_psMemory.c)
     
    9292
    9393 <DATE> <TIME> <HOST> |I|TPFreeReferencedMemory|memory reference count shall be incrementable/decrementable
    94  <DATE> <TIME> <HOST> |I|TPFreeReferencedMemory|expect error from free as multiple referenced buffer is freed.
    95  <DATE> <TIME> <HOST> |E|p_psFree       |The buffer being freed is referenced elsewhere. Buffer's reference count was decremented instead.
    96  <DATE> <TIME> <HOST> |I|memProblemCallback|memory callback called for id 1 (tst_psMemory.c:140).
     94 <DATE> <TIME> <HOST> |I|TPFreeReferencedMemory|psFree shall be just decrement a multiple refererenced pointer.
    9795
    9896---> TESTPOINT PASSED (psMemory{456-TPFreeReferencedMemory} | tst_psMemory.c)
Note: See TracChangeset for help on using the changeset viewer.