#5253: Test 3307 and "readFileAs fileSystemEncoding" fails on Windows
---------------------------------+------------------------------------------
Reporter: igloo | Owner: batterseapower@…
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
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!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5253>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs