1
0
mirror of https://github.com/golang/go synced 2024-11-14 06:20:23 -07:00

os: skip TestExecutableDeleted on aix

aix does not support reading deleted executable name.

Change-Id: I955ed2c22bd0693440e2c889a4d3132d0a375c48
Reviewed-on: https://go-review.googlesource.com/c/go/+/312392
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
Egon Elbre 2021-04-23 08:41:07 +03:00 committed by Tobias Klauser
parent 5963f0a332
commit 105a6e9518

View File

@ -92,7 +92,7 @@ func TestExecutableDeleted(t *testing.T) {
switch runtime.GOOS { switch runtime.GOOS {
case "windows": case "windows":
t.Skip("windows does not support deleting running binary") t.Skip("windows does not support deleting running binary")
case "openbsd", "freebsd": case "openbsd", "freebsd", "aix":
t.Skipf("%v does not support reading deleted binary name", runtime.GOOS) t.Skipf("%v does not support reading deleted binary name", runtime.GOOS)
} }