From: Bryan C. Mills Date: Fri, 5 Nov 2021 19:38:57 +0000 (-0400) Subject: cmd/go: don't assume case-insensitivity in TestScript/gcflags_patterns X-Git-Tag: go1.18beta1~498 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7be227ccd0213dd10d831f87c133bc8ac2cbdc73;p=gostls13.git cmd/go: don't assume case-insensitivity in TestScript/gcflags_patterns For #30432 Change-Id: I84f208705483018559b425b3669e724e7d5627ee Reviewed-on: https://go-review.googlesource.com/c/go/+/361814 Trust: Bryan C. Mills Run-TryBot: Bryan C. Mills TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/go/testdata/script/gcflags_patterns.txt b/src/cmd/go/testdata/script/gcflags_patterns.txt index 5b81e9481a..24ec5aa11b 100644 --- a/src/cmd/go/testdata/script/gcflags_patterns.txt +++ b/src/cmd/go/testdata/script/gcflags_patterns.txt @@ -58,8 +58,7 @@ go build -n -ldflags=-X=math.pi=3 stderr 'link.* -X=math.pi=3' # -ldflags applies to current directory even if GOPATH is funny -[windows] cd $WORK/GoPath/src/my/cmd/prog -[darwin] cd $WORK/GoPath/src/my/cmd/prog +[!case-sensitive] cd $WORK/GoPath/src/my/cmd/prog go build -n -ldflags=-X=math.pi=3 stderr 'link.* -X=math.pi=3'