From: Michael Tremer Date: Wed, 3 Mar 2021 11:46:27 +0000 (+0000) Subject: tests: makefile: Update test to latest parser changes X-Git-Tag: 0.9.28~1285^2~656 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12aca7742e6c405814498bf369384331c0b0156;p=pakfire.git tests: makefile: Update test to latest parser changes Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/makefile.c b/tests/libpakfire/makefile.c index 22eb8eb9c..ed355103c 100644 --- a/tests/libpakfire/makefile.c +++ b/tests/libpakfire/makefile.c @@ -43,7 +43,7 @@ static int test_parse(const struct test* t) { FILE* f = fopen(path, "r"); ASSERT(f); - PakfireParser parser = pakfire_parser_create(t->pakfire, NULL, NULL); + PakfireParser parser = pakfire_parser_create(t->pakfire, NULL, NULL, 0); int r = pakfire_parser_read(parser, f, NULL); ASSERT(r == 0); @@ -67,7 +67,7 @@ static int test_macros(const struct test* t) { int r = glob(macros, 0, NULL, &buffer); ASSERT(r == 0); - PakfireParser parser = pakfire_parser_create(t->pakfire, NULL, NULL); + PakfireParser parser = pakfire_parser_create(t->pakfire, NULL, NULL, 0); ASSERT(parser); for (unsigned int i = 0; i < buffer.gl_pathc; i++) {