]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add a [root] condition to script_test
authorBryan C. Mills <bcmills@google.com>
Tue, 11 Dec 2018 16:48:01 +0000 (11:48 -0500)
committerBryan C. Mills <bcmills@google.com>
Tue, 11 Dec 2018 19:50:23 +0000 (19:50 +0000)
commitec510045675ac112184052bc303be190872fd51c
treeee7dee6ecb2a7178f86a1d4bf1d18b4a7fb881d3
parentf36a53e95ca86cc57349dc9320f9d87fef783708
cmd/go: add a [root] condition to script_test

[root] reports whether the current effective user ID is 0.

Updates #29127

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