Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestSize failure on Debian GNU/Linux with Golang 1.6 #3

Open
onlyjob opened this issue Mar 23, 2016 · 2 comments
Open

TestSize failure on Debian GNU/Linux with Golang 1.6 #3

onlyjob opened this issue Mar 23, 2016 · 2 comments

Comments

@onlyjob
Copy link

onlyjob commented Mar 23, 2016

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

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

@ssgelm
Copy link

ssgelm commented Jul 24, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants