mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: add another output for TestGroupCleanupUserNamespace
Fixes #16303. Change-Id: I2832477ce0117a66da53ca1f198ebb6121953d56 Reviewed-on: https://go-review.googlesource.com/24833 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
12f2b4ff0e
commit
54b499e3f1
1 changed files with 1 additions and 0 deletions
|
|
@ -238,6 +238,7 @@ func TestGroupCleanupUserNamespace(t *testing.T) {
|
||||||
"uid=0(root) gid=0(root) groups=0(root)",
|
"uid=0(root) gid=0(root) groups=0(root)",
|
||||||
"uid=0(root) gid=0(root) groups=0(root),65534(nobody)",
|
"uid=0(root) gid=0(root) groups=0(root),65534(nobody)",
|
||||||
"uid=0(root) gid=0(root) groups=0(root),65534(nogroup)",
|
"uid=0(root) gid=0(root) groups=0(root),65534(nogroup)",
|
||||||
|
"uid=0(root) gid=0(root) groups=0(root),65534",
|
||||||
}
|
}
|
||||||
for _, e := range expected {
|
for _, e := range expected {
|
||||||
if strOut == e {
|
if strOut == e {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue