Test 3307 and "readFileAs fileSystemEncoding" fails on Windows
The "readFileAs fileSystemEncoding" part of test 3307 doesn't work on Windows:
$ make 3307-test
"C:/msys/1.0/home/ian/ghc/inplace/bin/ghc-stage2.exe" --make -fforce-recomp -v0 3307.hs -o 3307
echo Ni hao > chinese-file-小说
echo chinese-file-小说 > chinese-name
# The tests are run in a UTF-8 locale. We would test another one
# (like Big5) but GHC developers probably won't have it on their machines.
./3307 chinese-file-小说
Test 1
[99,104,105,110,101,115,101,45,102,105,108,101,45,23567,35828]
Ni hao
Test 2
[99,104,105,110,101,115,101,45,102,105,108,101,45,23567,35828]
Ni hao
Test 3
[99,104,105,110,101,115,101,45,102,105,108,101,45,23567,35828]
Ni hao
Test 4
[99,104,105,110,101,115,101,45,102,105,108,101,45,213,9617,197,222]
3307.exe: chinese-file-小� openFile: does not exist (No such file or directory)
make: *** [3307-test] Error 1
I don't know if this is a bug in the test or in the code, but I hope you will, Max!
Trac metadata
Trac field | Value |
---|---|
Version | 7.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |