commit | 159e5304a9c1eba4902cafc2ee200a15c2d6ac73 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Oct 16 13:13:44 2019 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Wed Oct 16 17:06:09 2019 +0000 |
tree | 96eee6ccc29832c1686513869599a7787691c90a | |
parent | f887077f259df5f3a64014e356646b0ad12a3c64 [diff] |
term: use pseudo terminal in TestIsTerminalTerm on linux Use /dev/ptmx to create a new pseudo terminal and use this in TestIsTerminalTerm. This should fix the test failing with ENXIO on some linux builders. Change-Id: I39880d2cb538e3e9c8063ac79b5380ed00a476f5 Reviewed-on: https://go-review.googlesource.com/c/term/+/201417 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository provides Go terminal and console support packages.
The easiest way to install is to run go get -u golang.org/x/term
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/term
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the term repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/term:” in the subject line, so it is easy to find.