source: branches/stable/mondo/src/test/test-mem.res @ 1178

Last change on this file since 1178 was 1178, checked in by Bruno Cornec, 13 years ago

Continue to merge trunk memory management enhancements for libmondo-tools.c & libmondo-string.c
Introduction + test of a new function mr_strcat

File size: 356 bytes
1*** Test with mr_malloc/mr_free
2pointer is NOT null
3pointer is null
4*** Test with mr_asprintf/mr_free
5Result: Chain of trust
6*** Test with mr_strcat
7Result: Another Chain of trust
8*** Test with mr_getline/mr_free
91st Result: root:x:0:0:root:/root:/bin/bash
102nd Result: bin:x:1:1:bin:/bin:/bin/sh
113rd Result: another line
12*** Test with NULL
13pointer is null
Note: See TracBrowser for help on using the repository browser.