ts icon indicating copy to clipboard operation
ts copied to clipboard

TestSize failure on Debian GNU/Linux with Golang 1.6

Open onlyjob opened this issue 9 years ago • 2 comments

=== RUN   TestSize 
--- FAIL: TestSize (0.00s) 
        ts_test.go:27: inappropriate ioctl for device 
FAIL 

onlyjob avatar Mar 23 '16 06:03 onlyjob

I'm able to reproduce this error using go version go1.6.2 darwin/amd64 on OS X, both in and out of tmux.

ttaylorr avatar May 23 '16 21:05 ttaylorr

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.

ssgelm avatar Jul 24 '17 06:07 ssgelm