try to avoid "too many open files" when running tests

This commit is contained in:
Joel Kaasinen
2021-02-05 17:15:56 +02:00
parent 971ce141aa
commit 7223186016
+1 -1
View File
@@ -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)