mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
unix: add missing chtmpdir in TestPpoll on openbsd
This ensures the the fifos are created in a temporary directory. Change-Id: I744122207700e77a7a180d4f61336a93f3e5efca Reviewed-on: https://go-review.googlesource.com/c/sys/+/214479 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
committed by
Tobias Klauser
parent
548cf772de
commit
86b910548b
@@ -12,6 +12,7 @@ import (
|
||||
)
|
||||
|
||||
func TestPpoll(t *testing.T) {
|
||||
defer chtmpdir(t)()
|
||||
f, cleanup := mktmpfifo(t)
|
||||
defer cleanup()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user