Changeset 1186 in MondoRescue for branches/stable/mondo/src/test
- Timestamp:
- Feb 19, 2007, 11:54:45 AM (18 years ago)
- Location:
- branches/stable/mondo/src/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/test/test-string.c
r1140 r1186 28 28 mr_free(string); 29 29 30 mr_asprintf(&string, " This is a chain with spaces before and behind "); 31 fprintf(stdout, "string=|%s|\n", string); 32 mr_strip_spaces(string); 33 fprintf(stdout, "string=|%s|\n", string); 34 mr_free(string); 35 mr_asprintf(&string, "This is a chain without spaces before and behind"); 36 fprintf(stdout, "string=|%s|\n", string); 37 mr_strip_spaces(string); 38 fprintf(stdout, "string=|%s|\n", string); 39 mr_free(string); 40 30 41 exit(0); 31 42 } -
branches/stable/mondo/src/test/test-string.res
r1054 r1186 8 8 token=|hda6[2]|, lastpos=45 9 9 token=|hda5[1]|, lastpos=53 10 string=| This is a chain with spaces before and behind | 11 string=|This is a chain with spaces before and behind| 12 string=|This is a chain without spaces before and behind| 13 string=|This is a chain without spaces before and behind|
Note:
See TracChangeset
for help on using the changeset viewer.