From: Michael Matloob Date: Thu, 27 Feb 2020 22:24:48 +0000 (-0500) Subject: cmd/go/testdata/script: fix path separator in test to be os-independent X-Git-Tag: go1.15beta1~1011 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3061d89651618bd4ebe84ee0df3a83effc35c9e3;p=gostls13.git cmd/go/testdata/script: fix path separator in test to be os-independent Use ${:} instead of : so to be Windows-friendly. Change-Id: I5e660af49b0a2ac2da868583cbcb55cf8bf89b68 Reviewed-on: https://go-review.googlesource.com/c/go/+/221461 Run-TryBot: Bryan C. Mills Reviewed-by: Bryan C. Mills TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/go/testdata/script/install_shadow_gopath.txt b/src/cmd/go/testdata/script/install_shadow_gopath.txt index e51cb91bce..995162172e 100644 --- a/src/cmd/go/testdata/script/install_shadow_gopath.txt +++ b/src/cmd/go/testdata/script/install_shadow_gopath.txt @@ -3,7 +3,7 @@ [!net] skip -env GOPATH=$WORK/gopath1:$WORK/gopath2 +env GOPATH=$WORK/gopath1${:}$WORK/gopath2 mkdir $WORK/gopath1/src/test mkdir $WORK/gopath2/src/test