]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/work: fix TestRespectGroupSticky on FreeBSD
authorMostyn Bramley-Moore <mostyn@antipode.se>
Fri, 21 Apr 2017 00:21:41 +0000 (02:21 +0200)
committerIan Lance Taylor <iant@golang.org>
Fri, 21 Apr 2017 01:23:58 +0000 (01:23 +0000)
commite4852aaa7e95e49d8a54584370644714fbcf2c8c
tree3029a3919c68bfca39e779846ea24fbee751785a
parentbe66d174523809e00d3fba3cd3c52d6b74bc7e73
cmd/go/internal/work: fix TestRespectGroupSticky on FreeBSD

FreeBSD doesn't allow non-root users to enable the SetGID bit on
files or directories in /tmp, however it does allow this in
subdirectories, so create the test directory one level deeper.

Followup to golang/go#19596.

Change-Id: I30e71c6d6a156badc863e8068df10ef6ed817e26
Reviewed-on: https://go-review.googlesource.com/41216
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/internal/work/build_test.go