diff options
| author | Bryan C. Mills <bcmills@google.com> | 2022-12-15 17:09:00 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-12-16 03:04:44 +0000 |
| commit | 3323dab1f45bbad1033cdd0c2fbfb9884c5d54cc (patch) | |
| tree | 9625eb1711d90376bbe53530d7fa965de15fa85c /src/syscall/syscall_linux.go | |
| parent | 628a1e7d3ac8390e0c6327acde1ab52ec09f69d6 (diff) | |
| download | go-3323dab1f45bbad1033cdd0c2fbfb9884c5d54cc.tar.xz | |
os/exec: retry ETXTBSY errors in TestFindExecutableVsNoexec
I made this test parallel in CL 439196, which exposed it to the
fork/exec race condition described in #22315. The ETXTBSY errors from
that race should resolve on their own, so we can simply retry the call
to get past them.
Fixes #56811.
Updates #22315.
Change-Id: I2c6aa405bf3a1769d69cf08bf661a9e7f86440b4
Reviewed-on: https://go-review.googlesource.com/c/go/+/458016
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/syscall/syscall_linux.go')
0 files changed, 0 insertions, 0 deletions
