Changeset 640 for trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr
- Timestamp:
- May 11, 2004, 10:52:33 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/verified/tst_psMemory.stderr
r637 r640 34 34 /----------------------------- TESTPOINT ------------------------------------------\ 35 35 | TestFile: tst_psMemory.c | 36 | TestPoint: psMemory{452 -TPallocCallback}|36 | TestPoint: psMemory{452/453-TPallocCallback} | 37 37 | TestType: Positive | 38 38 \----------------------------------------------------------------------------------/ … … 47 47 <DATE> <TIME> <HOST> |I|memFreeCallback|block 4 was freed 48 48 49 ---> TESTPOINT PASSED (psMemory{452 -TPallocCallback} | tst_psMemory.c)49 ---> TESTPOINT PASSED (psMemory{452/453-TPallocCallback} | tst_psMemory.c) 50 50 51 51 /----------------------------- TESTPOINT ------------------------------------------\ 52 52 | TestFile: tst_psMemory.c | 53 | TestPoint: psMemory{ TPFreeReferencedMemory}|53 | TestPoint: psMemory{454-TPcheckLeaks} | 54 54 | TestType: Positive | 55 55 \----------------------------------------------------------------------------------/ 56 56 57 Allocating buffer. 58 Freeing buffer after incrementing reference count. 57 <DATE> <TIME> <HOST> |I|TPcheckLeaks |psMemCheckLeaks shall return the number of blocks above an ID that are still allocated 58 <DATE> <TIME> <HOST> |I|TPcheckLeaks |following psMemCheckLeaks call should produce one instance. 59 file:line ID 60 tst_psMemory.c:340 1 61 <DATE> <TIME> <HOST> |I|TPcheckLeaks |Testing psMemCheckLeaks again with a different leak location 62 <DATE> <TIME> <HOST> |I|TPcheckLeaks |following psMemCheckLeaks call should produce one error. 63 file:line ID 64 tst_psMemory.c:370 11 65 <DATE> <TIME> <HOST> |I|TPcheckLeaks |Testing psMemCheckLeaks again with multiple leak locations. 66 <DATE> <TIME> <HOST> |I|TPcheckLeaks |following psMemCheckLeaks call should produce two errors. 67 file:line ID 68 tst_psMemory.c:398 16 69 tst_psMemory.c:398 14 70 71 ---> TESTPOINT PASSED (psMemory{454-TPcheckLeaks} | tst_psMemory.c) 72 73 /----------------------------- TESTPOINT ------------------------------------------\ 74 | TestFile: tst_psMemory.c | 75 | TestPoint: psMemory{455-TPmemCorruption} | 76 | TestType: Positive | 77 \----------------------------------------------------------------------------------/ 78 79 <DATE> <TIME> <HOST> |I|TPmemCorruption|psMemCheckCorruption shall detect memory corruptions 80 <DATE> <TIME> <HOST> |I|TPmemCorruption|psMemCheckCorruption should output an error message and memProblemCallback callback should be called. 81 <DATE> <TIME> <HOST> |E|psMemCheckCorruption|psMemCheckCorruption: memory block 1 is corrupted (0xdeadbeef 0x2deadbeef) 82 <DATE> <TIME> <HOST> |I|memProblemCallback|memory callback called for id 1 (psMemCheckCorruption:220). 83 84 ---> TESTPOINT PASSED (psMemory{455-TPmemCorruption} | tst_psMemory.c) 85 86 /----------------------------- TESTPOINT ------------------------------------------\ 87 | TestFile: tst_psMemory.c | 88 | TestPoint: psMemory{456-TPFreeReferencedMemory} | 89 | TestType: Positive | 90 \----------------------------------------------------------------------------------/ 91 92 <DATE> <TIME> <HOST> |I|TPFreeReferencedMemory|memory reference count shall be incrementable/decrementable 93 <DATE> <TIME> <HOST> |I|TPFreeReferencedMemory|expect error from free as multiple referenced buffer is freed. 59 94 <DATE> <TIME> <HOST> |E|p_psFree |The buffer being freed is referenced elsewhere. Buffer's reference count was decremented instead. 60 <DATE> <TIME> <HOST> | A|memProblemCallbackDefault|Detected a problem in the memory system at tst_psMemory.c:10395 <DATE> <TIME> <HOST> |I|memProblemCallback|memory callback called for id 1 (tst_psMemory.c:141). 61 96 62 ---> TESTPOINT PASSED (psMemory{ TPFreeReferencedMemory} | tst_psMemory.c)97 ---> TESTPOINT PASSED (psMemory{456-TPFreeReferencedMemory} | tst_psMemory.c) 63 98
Note:
See TracChangeset
for help on using the changeset viewer.
