Fuzz: fix forward build (#3200)

* Fuzz: fix forward build

Signed-off-by: Miek Gieben <miek@miek.nl>

* Flag not released yet, wget quiet

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2019-08-26 09:33:20 +00:00
committed by GitHub
parent 295be732ac
commit 2332467b87
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ ifeq ($(TEST_TYPE),fuzzit)
LIBFUZZER=YES $(MAKE) -f Makefile.fuzz all; \
$(MAKE) -sf Makefile.fuzz fuzzit; \
for i in `$(MAKE) -sf Makefile.fuzz echo`; do echo $$i; \
./fuzzit create job --if-not-exists --type $(FUZZIT_TYPE) coredns/$$i ./$$i; \
./fuzzit create job --type $(FUZZIT_TYPE) coredns/$$i ./$$i; \
done; \
fi;
endif

View File

@@ -51,7 +51,7 @@ else
endif
fuzzit:
wget -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/$(FUZZIT)/fuzzit_Linux_x86_64 && chmod +x fuzzit
wget --quiet -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/$(FUZZIT)/fuzzit_Linux_x86_64 && chmod +x fuzzit
.PHONY: clean
clean:

View File

@@ -22,7 +22,7 @@ func init() {
// Fuzz fuzzes forward.
func Fuzz(data []byte) int {
return fuzz.Do(f, nil, data)
return fuzz.Do(f, data)
}
type r struct{}