[Git][ghc/ghc][master] T18832: fix Windows CI failure by dropping removeDirectoryRecursive
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 91df4c82 by Sylvain Henry at 2026-03-09T04:53:20-04:00 T18832: fix Windows CI failure by dropping removeDirectoryRecursive On Windows, open file handles prevent deletion. After killThread, the closer thread may not have called hClose yet, causing removeDirectoryRecursive to fail with "permission denied". The test harness cleans up the run directory anyway, so the call is redundant. - - - - - 1 changed file: - libraries/base/tests/IO/T18832.hs Changes: ===================================== libraries/base/tests/IO/T18832.hs ===================================== @@ -41,7 +41,6 @@ test dir' = do -- cleanup mapM_ killThread [interrupter, deleter, closer] - removeDirectoryRecursive dir either throwIO (const $ putStrLn "No failures observed - success") result View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/91df4c8207cbfa916e85580a1bd784d4... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/91df4c8207cbfa916e85580a1bd784d4... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)