commit | 86b910548bc16777f40503131aa424ae0a092199 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Mon Jan 13 16:43:45 2020 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Mon Jan 13 16:29:24 2020 +0000 |
tree | 6173978d6850f39e29c317d98e522a3897f33694 | |
parent | 548cf772de5052aa878ccb47cdeb7d262b75c8ec [diff] |
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>
diff --git a/unix/syscall_openbsd_test.go b/unix/syscall_openbsd_test.go index b95f334..dabe4d5 100644 --- a/unix/syscall_openbsd_test.go +++ b/unix/syscall_openbsd_test.go
@@ -12,6 +12,7 @@ ) func TestPpoll(t *testing.T) { + defer chtmpdir(t)() f, cleanup := mktmpfifo(t) defer cleanup()