]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't let script grep commands match $WORK
authorIan Lance Taylor <iant@golang.org>
Sat, 25 Aug 2018 17:11:19 +0000 (10:11 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 25 Aug 2018 18:36:22 +0000 (18:36 +0000)
commitf2ed3e1da16ba02543268b14d962e1026257604e
tree177cb8671e35afd481f1193b8246519e5f659222
parente03220a594a1a4b7fa8c901eebddb9ea11ecbece
cmd/go: don't let script grep commands match $WORK

If $WORK happens to contain the string that a stdout/stderr/grep
command is searching for, a negative grep command will fail incorrectly.

Fixes #27170
Fixes #27221

Change-Id: I84454d3c42360fe3295c7235d388381525eb85b4
Reviewed-on: https://go-review.googlesource.com/131398
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/script_test.go