Skip to content
Snippets Groups Projects
Commit 59ac760e authored by Daniel Salzman's avatar Daniel Salzman
Browse files

unittests: add zscanner unittests data to EXTRA_DIST

Change-Id: I6f9750bfe60683a5dd4654394a52030a0b17f29a
parent 730c6346
Branches
Tags
No related merge requests found
Showing
with 6 additions and 4 deletions
......@@ -11,9 +11,11 @@ libknotd_la_YFLAGS = -pcf_ -d
libknotd_la_LFLAGS = # TODO: reentrant parser, prefix
EXTRA_DIST = \
tests/files/sample_conf \
zscanner/scanner.rl \
zscanner/scanner_body.rl
tests/files/sample_conf \
zscanner/scanner.rl \
zscanner/scanner_body.rl \
zscanner/test/run_tests.sh \
zscanner/test/cases
BUILT_SOURCES = \
sample_conf.rc \
......
......@@ -148,7 +148,7 @@ static int hattrie_tests_run(int argc, char *argv[])
/* Test 6: false LPR lookup */
const char *false_lpr = "Z";
int ret = hattrie_find_lpr(t, false_lpr, strlen(false_lpr), &v);
ok(ret != 0 && v == NULL, "hattrie: non-existent prefix lookup\n");
ok(ret != 0 && v == NULL, "hattrie: non-existent prefix lookup");
for (unsigned i = 0; i < dummy_count; ++i) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment