Fix fuzz testing command in Makefile to correctly match fuzz targets

This commit is contained in:
Snider 2025-11-03 19:54:37 +00:00
parent 34101cf686
commit c54a6ccd3a

View file

@ -82,7 +82,7 @@ fuzz: ## Run Go fuzz tests for $(FUZZTIME)
fi; \
for fz in $$FUZZES; do \
echo "==> Fuzzing $$pkg :: $$fz for $(FUZZTIME)"; \
$(GO) test -run=NONE -fuzz="^$$fz$" -fuzztime=$(FUZZTIME) $$pkg; \
$(GO) test -run=NONE -fuzz=^$${fz}$$ -fuzztime=$(FUZZTIME) $$pkg; \
done; \
done