Changeset 2211 in MondoRescue for branches/2.2.9/mondo/test
- Timestamp:
- Jun 3, 2009, 7:10:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/test/test-mountlist.c
r2209 r2211 1 /* 2 * $Id$ 3 * 4 * Test program for mountlist management at restore time 5 * Cn be used on host system with valgrind easier than with mondorestore 6 */ 1 7 #include <stdio.h> 2 8 #include "my-stuff.h" 9 #include "mr_mem.h" 3 10 #include "../common/mondostructures.h" 4 11 #include "../common/libmondo.h" … … 44 51 struct raidlist_itself *raidlist; 45 52 46 asprintf(&MONDO_LOGFILE,"/tmp/mrtest-mountlist.log");53 mr_asprintf(&MONDO_LOGFILE,"/tmp/mrtest-mountlist.log"); 47 54 48 55 /* Globals */ … … 60 67 61 68 setup_newt_stuff(); 62 asprintf(&g_mountlist_fname, "/tmp/mountlist.txt");69 mr_asprintf(&g_mountlist_fname, "/tmp/mountlist.txt"); 63 70 log_it("before mountlist"); 64 71 load_mountlist(mountlist, g_mountlist_fname);
Note:
See TracChangeset
for help on using the changeset viewer.