Changeset 1421 in MondoRescue
- Timestamp:
- May 7, 2007, 11:35:27 PM (18 years ago)
- Location:
- branches/stable/mondo/src/test
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/test/mondo.conf
r1054 r1421 6 6 testfalse = TRUE 7 7 # For msg tests 8 logfile ="/tmp/mondo-test.log"8 logfile="/tmp/mondo-test.log" 9 9 loglevel = 3 -
branches/stable/mondo/src/test/test-conf.c
r1064 r1421 14 14 int g_main_pid = 0; 15 15 int g_buffer_pid = 0; 16 17 void (*mr_cleanup)(void) = NULL; 16 18 17 19 int main(void) { … … 41 43 fprintf(stdout, "String : ***%s***\n",s); 42 44 mr_free(s); 45 if (! (s = mr_conf_sread("logfile"))) { 46 fprintf(stderr,"Unable to get string2\n"); 47 exit(-1); 48 } 49 fprintf(stdout, "String2 : ***%s***\n",s); 50 mr_free(s); 43 51 mr_conf_close(); 44 52 exit(0); -
branches/stable/mondo/src/test/test-conf.res
r1054 r1421 2 2 Float : ***32.670000*** 3 3 String : ***The big string*** 4 String2 : ***/tmp/mondo-test.log*** -
branches/stable/mondo/src/test/test-mem.c
r1196 r1421 6 6 #include "mr_mem.h" 7 7 #include "mr_file.h" 8 9 void (*mr_cleanup)(void) = NULL; 8 10 9 11 void is_null(const char* str) -
branches/stable/mondo/src/test/test-msg.c
r1065 r1421 16 16 #include "mr_conf.h" 17 17 #include "mr_mem.h" 18 19 void (*mr_cleanup)(void) = NULL; 18 20 19 21 int main(void) { -
branches/stable/mondo/src/test/test-msg.res
r1134 r1421 1 1 Logfile : ***/tmp/mondo-test.log*** 2 2 Loglevel : ***3*** 3 test-msg.c #4 4: Log sentence : 12 3 /tmp/mondo-test.log is a log file3 test-msg.c #46: Log sentence : 12 3 /tmp/mondo-test.log is a log file -
branches/stable/mondo/src/test/test-string.c
r1186 r1421 12 12 #include "mr_str.h" 13 13 #include "mr_mem.h" 14 15 void (*mr_cleanup)(void) = NULL; 14 16 15 17 int main(void) {
Note:
See TracChangeset
for help on using the changeset viewer.