ts
ts copied to clipboard
TestSize failure on Debian GNU/Linux with Golang 1.6
=== RUN TestSize
--- FAIL: TestSize (0.00s)
ts_test.go:27: inappropriate ioctl for device
FAIL
I'm able to reproduce this error using go version go1.6.2 darwin/amd64 on OS X, both in and out of tmux.
This happens because the test relies on stdout pointing to the current tty but go test redirects it to capture the output. Tests do seem to work when running go test -v.