Changeset 1186 in MondoRescue for branches/stable/mondo/src/test


Ignore:
Timestamp:
Feb 19, 2007, 11:54:45 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Small typo fix for mondorestore man page (reported by petes-bugs_at_thegoldenear.org)
  • mondo ChangeLog is now UTF-8
  • New tests for mr_strip_spaces
  • Some attempts to remove valgrind errors
Location:
branches/stable/mondo/src/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/test/test-string.c

    r1140 r1186  
    2828    mr_free(string);
    2929
     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
    3041    exit(0);
    3142}
  • branches/stable/mondo/src/test/test-string.res

    r1054 r1186  
    88token=|hda6[2]|, lastpos=45
    99token=|hda5[1]|, lastpos=53
     10string=|     This is a chain with spaces before and behind      |
     11string=|This is a chain with spaces before and behind|
     12string=|This is a chain without spaces before and behind|
     13string=|This is a chain without spaces before and behind|
Note: See TracChangeset for help on using the changeset viewer.