config file: directory, logfile, pidfile. And they work too.

and log_warn.


git-svn-id: file:///svn/unbound/trunk@139 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-02-23 13:38:54 +00:00
parent c4d87f4f5d
commit 7e4700ec5f
15 changed files with 231 additions and 31 deletions
+1
View File
@@ -151,6 +151,7 @@ main(int argc, char* argv[])
char* init_optarg = optarg;
struct replay_scenario* scen = NULL;
log_init(NULL);
log_info("Start of %s testbound program.", PACKAGE_STRING);
/* determine commandline options for the daemon */
pass_argc = 1;
+1
View File
@@ -70,6 +70,7 @@ net_test()
int
main(int argc, char* argv[])
{
log_init(NULL);
if(argc != 1) {
printf("usage: %s\n", argv[0]);
printf("\tperforms unit tests.\n");