]> Cypherpunks repositories - gostls13.git/commit
internal/fuzz: write shorter testdata corpus file names
authorRuss Cox <rsc@golang.org>
Mon, 17 Oct 2022 13:29:05 +0000 (09:29 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 17 Oct 2022 18:38:43 +0000 (18:38 +0000)
commitb65e259e56a326295250f037efbd31f64bcdfbfe
treee36fc9d93db72d4d6511e84b4167d19272032b7b
parentd5ba1d8d6fe1d36294fa639f2d4936b331a543ea
internal/fuzz: write shorter testdata corpus file names

The only purpose of using the SHA256 in the file name is
collision avoidance. Using just the first 64 bits (16 hex digits)
will be more than enough, unless people start storing billions
of test cases in their corpora.

The shorter names are nicer for just about everything:
command lines, repository listings, and so on.

Change-Id: I67c760023bed85ba3ffd4f8058f86ef778322ba7
Reviewed-on: https://go-review.googlesource.com/c/go/+/443335
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
src/internal/fuzz/fuzz.go