From 86b910548bc16777f40503131aa424ae0a092199 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 13 Jan 2020 16:43:45 +0100 Subject: [PATCH] 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 Run-TryBot: Matt Layher TryBot-Result: Gobot Gobot Reviewed-by: Matt Layher --- unix/syscall_openbsd_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/syscall_openbsd_test.go b/unix/syscall_openbsd_test.go index b95f334e..dabe4d59 100644 --- a/unix/syscall_openbsd_test.go +++ b/unix/syscall_openbsd_test.go @@ -12,6 +12,7 @@ import ( ) func TestPpoll(t *testing.T) { + defer chtmpdir(t)() f, cleanup := mktmpfifo(t) defer cleanup()