test_fs_test_lib.c | test_fs_test_lib.c | |||
---|---|---|---|---|
skipping to change at line 136 | skipping to change at line 136 | |||
daemons, &do_connect, NULL); | daemons, &do_connect, NULL); | |||
} | } | |||
int | int | |||
main (int argc, char *argv[]) | main (int argc, char *argv[]) | |||
{ | { | |||
char *const argvx[] = { | char *const argvx[] = { | |||
"test-fs-test-lib", | "test-fs-test-lib", | |||
"-c", | "-c", | |||
"fs_test_lib_data.conf", | "fs_test_lib_data.conf", | |||
#if VERBOSE | ||||
"-L", "DEBUG", | ||||
#endif | ||||
NULL | NULL | |||
}; | }; | |||
struct GNUNET_GETOPT_CommandLineOption options[] = { | struct GNUNET_GETOPT_CommandLineOption options[] = { | |||
GNUNET_GETOPT_OPTION_END | GNUNET_GETOPT_OPTION_END | |||
}; | }; | |||
GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | |||
GNUNET_log_setup ("test_fs_test_lib", | GNUNET_log_setup ("test_fs_test_lib", | |||
#if VERBOSE | ||||
"DEBUG", | ||||
#else | ||||
"WARNING", | "WARNING", | |||
#endif | ||||
NULL); | NULL); | |||
GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx, | GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx, | |||
"test-fs-test-lib", "nohelp", options, &run, NULL); | "test-fs-test-lib", "nohelp", options, &run, NULL); | |||
GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | |||
return ret; | return ret; | |||
} | } | |||
/* end of test_fs_test_lib.c */ | /* end of test_fs_test_lib.c */ | |||
End of changes. 3 change blocks. | ||||
7 lines changed or deleted | 0 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |