Fix CreateDirectoryIfMissing001 racing tests on OS X
It seems that, on the flavor of Mac OS X available on GitHub Actions, InvalidArgument can be thrown by mkdir (createDirectory) when createDirectoryIfMissing is raced against removeDirectoryRecursive.
Showing
- System/Directory/Internal/Prelude.hs 1 addition, 0 deletionsSystem/Directory/Internal/Prelude.hs
- System/Directory/Internal/Windows.hsc 4 additions, 0 deletionsSystem/Directory/Internal/Windows.hsc
- directory.cabal 1 addition, 1 deletiondirectory.cabal
- tests/CreateDirectoryIfMissing001.hs 4 additions, 1 deletiontests/CreateDirectoryIfMissing001.hs
Please register or sign in to comment