mirror of
https://github.com/iritmaximus/haskell.git
synced 2026-10-12 19:13:39 +03:00
try to avoid "too many open files" when running tests
This commit is contained in:
@@ -118,7 +118,7 @@ capture input op = do
|
||||
|
||||
str <- readFile opath
|
||||
|
||||
return (str,val)
|
||||
return $ length str `seq` (str,val) -- try to avoid half-open handles
|
||||
|
||||
runc string op = run (capture string op)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user