From 8435a746f5ca03bfd53ddf099bb2e82e6854acbf Mon Sep 17 00:00:00 2001 From: Hiroshi Ioka Date: Tue, 17 Jan 2017 16:16:42 +0900 Subject: [PATCH] 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 TryBot-Result: Gobot Gobot Reviewed-by: David Crawshaw --- src/syscall/exec_linux_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {