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í f37561589b properly quote the path to garble in -toolexec
If we don't quote it, paths containing spaces or quote characters will
fail. For instance, the added test without the fix fails:

        > env NAME='with spaces'
        > mkdir $NAME
        > cp $EXEC_PATH $NAME/garble$exe
        > exec $NAME/garble$exe build main.go
        [stderr]
        go tool compile: fork/exec $WORK/with: no such file or directory
        exit status 1

Luckily, the fix is easy: we bundle Go's cmd/internal/quoted package,
which implements a QuotedJoin API for this very purpose.

Fixes #544.
2 years ago
..
asm.txt all: drop support for Go 1.17 2 years ago
basic.txt add missing context to two unmarshal errors 2 years ago
cgo.txt all: drop support for Go 1.17 2 years ago
crossbuild.txt all: drop support for Go 1.17 2 years ago
debugdir.txt all: drop support for Go 1.17 2 years ago
embed.txt all: drop support for Go 1.17 2 years ago
goenv.txt properly quote the path to garble in -toolexec 2 years ago
gogarble.txt all: drop support for Go 1.17 2 years ago
goversion.txt all: drop support for Go 1.17 2 years ago
help.txt fix support with the latest Go master version 2 years ago
implement.txt all: drop support for Go 1.17 2 years ago
imports.txt support import paths ending with ".go" 2 years ago
init.txt all: drop support for Go 1.17 2 years ago
ldflags.txt all: drop support for Go 1.17 2 years ago
linkname.txt all: drop support for Go 1.17 2 years ago
literals.txt Disable seed obfuscator (#535) 2 years ago
modinfo.txt all: drop support for Go 1.17 2 years ago
plugin.txt all: drop support for Go 1.17 2 years ago
position.txt all: drop support for Go 1.17 2 years ago
reflect.txt fix support with the latest Go master version 2 years ago
reverse.txt all: drop support for Go 1.17 2 years ago
seed-cache.txt all: drop support for Go 1.17 2 years ago
seed.txt all: drop support for Go 1.17 2 years ago
syntax.txt all: drop support for Go 1.17 2 years ago
test.txt skip unnecessary "refusing to list" test errors 2 years ago
tiny.txt all: drop support for Go 1.17 2 years ago
typeparams.txt fix hashing of generic field names 2 years ago