diff options
author | Bryan C. Mills <bcmills@google.com> | 2022-03-31 16:51:32 -0400 |
---|---|---|
committer | Dmitri Shuralyov <dmitshur@golang.org> | 2022-05-04 15:44:36 +0000 |
commit | 2150be1a9be0a333dbdb9759d8dd98905d987828 (patch) | |
tree | b57447ddceeea3b3ddd69696d774982161685590 /src/runtime/signal_unix.go | |
parent | 9511f6deb62d1ef8c023dc4480517f1e4a57e3e7 (diff) | |
download | go-2150be1a9be0a333dbdb9759d8dd98905d987828.tar.gz go-2150be1a9be0a333dbdb9759d8dd98905d987828.zip |
[release-branch.go1.17] syscall: relax output check in TestGroupCleanupUserNamespace
“If you have a procedure with ten parameters, you probably missed some.”
― attr. Alan J. Perlis
I argue that the same is true for hard-coded special cases.
In TestGroupCleanupUserNamespace, instead of a curated list of strings
observed in the wild we now check for a prefix, as was done for
TestGroupCleanup in CL 24670.
Updates #52088.
Fixes #52148.
Change-Id: I59c5b0c048113e306996c0f8247e09c714d2423a
Reviewed-on: https://go-review.googlesource.com/c/go/+/397316
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
(cherry picked from commit 434b2a5d0dbdfdce6327beb06ca03c02b3fd2785)
Reviewed-on: https://go-review.googlesource.com/c/go/+/398235
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime/signal_unix.go')
0 files changed, 0 insertions, 0 deletions