path and header fix for tests.c
commit
0250cbc1df
|
@ -2,7 +2,6 @@
|
|||
#include "base.h"
|
||||
#include "log.h"
|
||||
|
||||
#include "config_parser.h"
|
||||
|
||||
static server* server_new() {
|
||||
server* srv = g_slice_new0(server);
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "log.h"
|
||||
|
||||
#include "http_request_parser.h"
|
||||
#include "config_parser.h"
|
||||
|
||||
int request_test() {
|
||||
chunkqueue *cq;
|
||||
|
@ -38,7 +39,7 @@ int main() {
|
|||
/* config parser test */
|
||||
config_parser_init();
|
||||
g_get_current_time(&start);
|
||||
result = config_parser_file("/home/icy/dev/c/lighttpd/test.conf");
|
||||
result = config_parser_file("../test.conf");
|
||||
g_get_current_time(&end);
|
||||
|
||||
printf("parsed config in %ld seconds %ld milliseconds and %ld microseconds\n",
|
||||
|
|
Loading…
Reference in New Issue