go/src/cmd
Jay Conrod bb53bd4957 [dev.fuzz] cmd/go: fix test_fuzz_cache
This test started failing when coverage-based fuzzing was enabled.
It expects at least one file to be written to the fuzz cache. Nothing
was written because the fuzz function was trivial, and no interesting
inputs could be discovered.

This CL makes the fuzz function return different values for different
inputs, which is enough to pass.

Change-Id: I6ffd2667891cf5f3e4588133efb65f096a739c09
Reviewed-on: https://go-review.googlesource.com/c/go/+/319871
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Katie Hockman <katie@golang.org>
2021-05-19 16:44:18 +00:00
..
addr2line
api cmd/api: disallow silent API additions after api/go1.n.txt is created 2021-05-03 19:14:16 +00:00
asm cmd/internal/obj/arm64: disable AL and NV for some condition operation instructions 2021-05-14 07:53:46 +00:00
buildid
cgo internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
compile cmd/compile/internal/dwarfgen: fix DWARF param DIE ordering 2021-05-13 14:30:42 +00:00
cover cmd/cover: use golang.org/x/tools/cover directly 2021-03-25 20:57:58 +00:00
dist all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
doc cmd/doc: properly display interface methods 2021-03-19 03:05:26 +00:00
fix
go [dev.fuzz] cmd/go: fix test_fuzz_cache 2021-05-19 16:44:18 +00:00
gofmt cmd/gofmt: always format non-directory arguments again 2021-04-30 16:17:01 +00:00
internal cmd/internal/obj/arm64: disable AL and NV for some condition operation instructions 2021-05-14 07:53:46 +00:00
link [dev.fuzz] all: merge master (d137b74) into dev.fuzz 2021-05-17 11:03:09 -04:00
nm cmd/dist,runtime: support cgo on openbsd/mips64 2021-04-28 12:51:42 +00:00
objdump cmd/internal/objfile: emit better error for Go object of a different version 2021-04-30 16:53:35 +00:00
pack cmd/pack: use testing.T.TempDir in tests 2021-04-07 13:24:10 +00:00
pprof cmd/vendor: upgrade pprof to latest 2021-05-08 14:59:49 +00:00
test2json
trace runtime: move next_gc and last_next_gc into gcControllerState 2021-04-14 14:03:30 +00:00
vendor cmd/go: be less strict about go version syntax in dependency go.mod files 2021-05-13 15:33:24 +00:00
vet
README.vendor
go.mod cmd/go: be less strict about go version syntax in dependency go.mod files 2021-05-13 15:33:24 +00:00
go.sum cmd/go: be less strict about go version syntax in dependency go.mod files 2021-05-13 15:33:24 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.