Changeset 3566 in MondoRescue for branches/3.2/mondo/test/test-mountlist.c


Ignore:
Timestamp:
Apr 13, 2016, 12:58:26 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug in mr_strip_space (end of string was on char too far)
  • Dynamic memory allocation for load_raidtab_into_raidlist and get_next_raidtab_line
  • Add a test to test_mountlist to rewrite the raitab, allowing comparison with original
  • Fix #780, #781 and #757 with a new raitab handling as a consequence
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/test/test-mountlist.c

    r3564 r3566  
    9191mr_free(flaws_str);
    9292
    93 log_it("before check raidlist content");
    94 log_it("after check raidlist content");
     93log_it("before write again raidlist content");
     94save_raidlist_to_raidtab(raidlist, RAIDTAB_TEST".new");
     95log_it("after write again raidlist content");
    9596
    9697log_it("before create mdadm dev");
     98/*
    9799create_raid_device_via_mdadm(raidlist,"/dev/md0",FALSE);
    98100create_raid_device_via_mdadm(raidlist,"/dev/md1",FALSE);
     101*/
    99102log_it("after create mdadm dev");
    100103
Note: See TracChangeset for help on using the changeset viewer.