aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-08-26 09:33:20 +0000
committerGravatar GitHub <noreply@github.com> 2019-08-26 09:33:20 +0000
commit2332467b87b02f168034b30abac41f60a01548b5 (patch)
tree1a8d4fe5cce3cfa1fc18c30e82a4c79d7cced189
parent295be732acec3a8f14c8ea62f053225925fe97a0 (diff)
downloadcoredns-2332467b87b02f168034b30abac41f60a01548b5.tar.gz
coredns-2332467b87b02f168034b30abac41f60a01548b5.tar.zst
coredns-2332467b87b02f168034b30abac41f60a01548b5.zip
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>
-rw-r--r--Makefile2
-rw-r--r--Makefile.fuzz2
-rw-r--r--plugin/forward/fuzz.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d5deed904..648b8f38b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/Makefile.fuzz b/Makefile.fuzz
index 6aef4685e..5f4c1be2c 100644
--- a/Makefile.fuzz
+++ b/Makefile.fuzz
@@ -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:
diff --git a/plugin/forward/fuzz.go b/plugin/forward/fuzz.go
index eb4f78246..cbb4edf01 100644
--- a/plugin/forward/fuzz.go
+++ b/plugin/forward/fuzz.go
@@ -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{}