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:
Tobias Klauser
2020-01-13 16:43:45 +01:00
committed by Tobias Klauser
parent 548cf772de
commit 86b910548b

View File

@@ -12,6 +12,7 @@ import (
)
func TestPpoll(t *testing.T) {
defer chtmpdir(t)()
f, cleanup := mktmpfifo(t)
defer cleanup()