diff options
| author | Hiroshi Ioka <hirochachacha@gmail.com> | 2017-01-17 16:16:42 +0900 |
|---|---|---|
| committer | David Crawshaw <crawshaw@golang.org> | 2017-09-10 14:00:44 +0000 |
| commit | 8435a746f5ca03bfd53ddf099bb2e82e6854acbf (patch) | |
| tree | 99e1e21c51514dae52deffe180af6882afcf2f76 /src/syscall/exec_linux_test.go | |
| parent | 753bac3a55359b9f19565143eef6179a404bdeea (diff) | |
| download | go-8435a746f5ca03bfd53ddf099bb2e82e6854acbf.tar.xz | |
syscall: fix TestCloneNEWUSERAndRemapRootEnableSetgroups on linux
Despite its name, it did the same thing as
TestCloneNEWUSERAndRemapRootDisableSetgroups in old code. So fix it.
Change-Id: I21265e539179c51980e16f07a553a9bf5bb7903f
Reviewed-on: https://go-review.googlesource.com/35273
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
| -rw-r--r-- | src/syscall/exec_linux_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/exec_linux_test.go b/src/syscall/exec_linux_test.go index 79a7916dde..17df8f445e 100644 --- a/src/syscall/exec_linux_test.go +++ b/src/syscall/exec_linux_test.go @@ -133,7 +133,7 @@ func TestCloneNEWUSERAndRemapRootEnableSetgroups(t *testing.T) { if os.Getuid() != 0 { t.Skip("skipping root only test") } - testNEWUSERRemap(t, 0, 0, false) + testNEWUSERRemap(t, 0, 0, true) } func TestCloneNEWUSERAndRemapNoRootDisableSetgroups(t *testing.T) { |
