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

fix: tty test #160

Closed
wants to merge 1 commit into from
Closed

fix: tty test #160

wants to merge 1 commit into from

Conversation

wat-aro
Copy link

@wat-aro wat-aro commented Dec 14, 2022

When I test a program that uses isatty, assert_cmd detects that it is not a tty even if it is a tty.
It is caused by passing pipe to stdin even when write_stdin is not used.
Fixed to pass pipe to stdin only when use write_stdin.

When I test a program that uses `isatty`, it will detect that it is
not a tty even if it is a tty.
The cause was that the pipe was passed to stdin even when
`write_stdin` was not used.
Fixed to pass pipe to stdin only when `write_stdin`.
@epage
Copy link
Contributor

epage commented Dec 14, 2022

I feel like this needs more description and discussion. Please open an Issue first for that.

@epage epage closed this Dec 14, 2022
@epage
Copy link
Contributor

epage commented Dec 14, 2022

See also #138

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

Successfully merging this pull request may close these issues.

None yet

2 participants