fuzz: Fix reader fuzzer

This commit is contained in:
Nick Wellnhofer 2024-05-06 18:03:01 +02:00
parent 72e9267c32
commit 5bfaab77f6
2 changed files with 4 additions and 3 deletions

View File

@ -29,8 +29,9 @@ testFuzzer_SOURCES = testFuzzer.c fuzz.c
.PHONY: corpus clean-corpus
corpus: seed/html.stamp seed/regexp.stamp seed/schema.stamp seed/uri.stamp \
seed/valid.stamp seed/xinclude.stamp seed/xml.stamp seed/xpath.stamp
corpus: seed/html.stamp seed/reader.stamp seed/regexp.stamp seed/schema.stamp \
seed/uri.stamp seed/valid.stamp seed/xinclude.stamp seed/xml.stamp \
seed/xpath.stamp
check-local: corpus
./testFuzzer$(EXEEXT)

View File

@ -207,7 +207,7 @@ main(void) {
ret = 1;
#endif
#ifdef HAVE_READER_FUZZER
if (testFuzzer(fuzzReaderInit, fuzzReader, "seed/xml/*") != 0)
if (testFuzzer(fuzzReaderInit, fuzzReader, "seed/reader/*") != 0)
ret = 1;
#endif
#ifdef HAVE_REGEXP_FUZZER