]> Cypherpunks repositories - gostls13.git/commit
os: skip TestExecutableDeleted on plan9
authorRichard Miller <miller.research@gmail.com>
Tue, 4 May 2021 16:43:26 +0000 (17:43 +0100)
committerDavid du Colombier <0intro@gmail.com>
Tue, 4 May 2021 18:47:19 +0000 (18:47 +0000)
commit8c3d217d89e718a5d9b7d8f4b1336907f15ea50c
tree3f479a9be560843bd28453b3da56d2d6a6c4b645
parente15d1f4e641641363b8791c2caecc06a43c1c615
os: skip TestExecutableDeleted on plan9

This test deletes the running executable file, which is not safe
on Plan 9. The test was working by accident prior to commit 02ab8d1,
which must have changed the page reference ordering just enough to
cause a new demand page-in after deletion of the file.

Fixes #45941

Change-Id: Ic13d8032c21cee603e3afc3c5c4da6093fc37bf4
Reviewed-on: https://go-review.googlesource.com/c/go/+/316829
Reviewed-by: David du Colombier <0intro@gmail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: David du Colombier <0intro@gmail.com>
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/os/executable_test.go