-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fileio tests fail on OS X, perhaps due to error in temporary
?
#5
Comments
Perhaps the unicode is problematic? Don't have OS X running to confirm. |
Could be. Would that error be in |
It's not I picked one of the tests and tried to make a minimal executable that demonstrates the problem. You can see it here: https://gist.github.com/jml/c832355ff1642fba8af9
Text encoding always makes my head spin, but my best guess is that since HFS+ stores paths as UTF8-encoded strings, that it doesn't make sense to even test iso8859 for that filesystem. (some Googling later) It appears that this code base already knows that, since Filesystem.Path.Rules.darwin exists. Because of the different types, it's not easy to just encode those examples with the darwin rules when on that platform. Two suggested fixes:
See also:
|
Oh hey, there are already cases where you do 2. in the test suite. Patch on its way. |
I'm not sure where the appropriate place to raise this issue is, but it appears that tests are failing due to the nonexistence of desired temporary files.
The text was updated successfully, but these errors were encountered: