Commit 5f2e48f7 authored by Simon Marlow's avatar Simon Marlow
Browse files

process003 doesn't work with GHCi, omit it

parent 477e0f97
test('process001', normal, compile_and_run, [''])
test('process002', normal, compile_and_run, [''])
test('process003', normal, compile_and_run, [''])
test('process003', omit_ways(['ghci']), compile_and_run, [''])
-- [ ghc-Bugs-1249226 ] runInteractiveProcess and closed stdin.
-- Fixed in rev 1.9 of fptools/libraries/base/cbits/runProcess.c
-- This test doesn't work in GHCi, because FD 0 gets re-allocated to
-- the IO manager pipe, which isn't set to non-blocking mode, and the
-- interactive prompt ends up blocking on a read from this descriptor.
import System.IO
import Control.Concurrent
import System.Process
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment