Revision 507372bb tests/RepoClient/RepoClient.c

View differences:

tests/RepoClient/RepoClient.c
8 8
#include        <event2/http.h>
9 9
#include        <event2/http_struct.h>
10 10

  
11
#include	<grapes.h>
12
#include	<grapes_log.h>
11
#include	<napa.h>
12
#include	<napa_log.h>
13 13
#include	<repoclient.h>
14 14
#include	<ml.h>
15 15

  
......
144 144
	}
145 145
	/* Initialize libevent and logging */
146 146
	eventbase = event_base_new();
147
	grapesInitLog(LOG_DEBUG, NULL, NULL);
147
	napaInitLog(LOG_DEBUG, NULL, NULL);
148 148
	repInit("");
149 149

  
150 150
	/* Parse config file and init repoclient with the "repository" cfg section */
......
160 160
	if (!ntests) fatal("No tests specified, exiting");
161 161

  
162 162
	struct timeval t = { 1, 0 };
163
	grapesSchedulePeriodic(&t, 1.0/5.0, do_tests, NULL);
163
	napaSchedulePeriodic(&t, 1.0/5.0, do_tests, NULL);
164 164
	do_tests(NULL, NULL);
165 165

  
166 166
	repClose(repoclient);

Also available in: Unified diff