mirror of
https://github.com/golang/go
synced 2024-11-19 01:24:39 -07:00
os: skip TestFifoEOF on android
TestFifoEOF fails on android because the mkfifo syscall is not allowed: --- FAIL: TestFifoEOF (0.00s) fifo_test.go:39: permission denied Change-Id: I007ff359831525add39cec34de4b3d3cd3adb047 Reviewed-on: https://go-review.googlesource.com/118815 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
1031380361
commit
d8e86caa3f
@ -23,7 +23,10 @@ import (
|
||||
|
||||
// Issue 24164.
|
||||
func TestFifoEOF(t *testing.T) {
|
||||
if runtime.GOOS == "openbsd" {
|
||||
switch runtime.GOOS {
|
||||
case "android":
|
||||
t.Skip("skipping on Android; mkfifo syscall not available")
|
||||
case "openbsd":
|
||||
// On OpenBSD 6.2 this test just hangs for some reason.
|
||||
t.Skip("skipping on OpenBSD; issue 25877")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user