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

Regression test 38 #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NorfairKing
Copy link

Hi @snoyberg This is a regression test for the problem in #38.
I also already added the fix that you suggested and it does indeed seem to fix the issue.

I made this PR here because I couldn't reproduce the problem in process instead.
I'd be happy to close this PR here and open a similar one for haskell/process#204 instead if we find a way to reproduce the issue there.

output <- S.hGet outHandle (S.length contents)
when (output /= contents) $ fail "failed to read."


-- These tests fail on older GHCs/process package versions
-- because, apparently, waitForProcess isn't interruptible. See
-- https://github.com/fpco/typed-process/pull/26#issuecomment-505702573.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just found this comment. I looks like it might be relevant.

@NorfairKing
Copy link
Author

I'm surprised to see that ci doesn't fail on this test...

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.

1 participant