You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí d0c6ccd63d sleep between cp and exec in test scripts
Every now and then, I get test failures in the goenv test like:

	> [!windows] cp $EXEC_PATH $NAME/garble$exe
	> [!windows] exec $NAME/garble$exe build
	[fork/exec with"double"quotes/garble: text file busy]
	FAIL: testdata/scripts/goenv.txt:21: unexpected command failure

The root cause is https://go.dev/issue/22315, which isn't going to be
fixed anytime soon, as it is a race condition in Linux itself, triggered
by how heavily concurrent Go tends to be.

For now, try to make the race much less likely to happen.
3 years ago
..
asm.txt all: drop support for Go 1.17 3 years ago
basic.txt add missing context to two unmarshal errors 3 years ago
cgo.txt obfuscate cgo-generated-Go filenames 3 years ago
crossbuild.txt all: drop support for Go 1.17 3 years ago
debugdir.txt all: drop support for Go 1.17 3 years ago
embed.txt all: drop support for Go 1.17 3 years ago
goenv.txt sleep between cp and exec in test scripts 3 years ago
gogarble.txt all: drop support for Go 1.17 3 years ago
goversion.txt all: drop support for Go 1.17 3 years ago
help.txt go 1.18.x now sets -buildvcs=false for `go test` 3 years ago
implement.txt all: drop support for Go 1.17 3 years ago
imports.txt avoid go/printer from breaking imports 3 years ago
init.txt all: drop support for Go 1.17 3 years ago
ldflags.txt slight simplifications and alloc reductions 3 years ago
linkname.txt all: drop support for Go 1.17 3 years ago
literals.txt Disable seed obfuscator (#535) 3 years ago
modinfo.txt all: drop support for Go 1.17 3 years ago
plugin.txt all: drop support for Go 1.17 3 years ago
position.txt all: drop support for Go 1.17 3 years ago
reflect.txt fix support with the latest Go master version 3 years ago
reverse.txt actually remove temporary directories after obfuscation 3 years ago
seed-cache.txt all: drop support for Go 1.17 3 years ago
seed.txt all: drop support for Go 1.17 3 years ago
syntax.txt all: drop support for Go 1.17 3 years ago
test.txt skip unnecessary "refusing to list" test errors 3 years ago
tiny.txt all: drop support for Go 1.17 3 years ago
typeparams.txt fix hashing of generic field names 3 years ago