On Sat, Sep 24, 2011 at 06:01:28AM -0700, Max Bolingbroke wrote: > > Attempt to fix decodingerror002 test for non-UTF8 locales
Still fails for me: --- decodingerror002.stdout 2011-09-24 14:11:50.000000000 +0100 +++ decodingerror002.run.stdout 2011-09-24 14:14:32.000000000 +0100 @@ -1,4 +1,4 @@ Left decodingerror002.in: hGetChar: invalid argument (invalid byte sequence) Left decodingerror002.in: hGetChar: end of file �Left decodingerror002.in: hGetChar: end of file -�eft decodingerror002.in: hGetChar: end of file +�Left decodingerror002.in: hGetChar: end of file Or in hexdump -C format: 00000000 2d 2d 2d 20 64 65 63 6f 64 69 6e 67 65 72 72 6f |--- decodingerro| 00000010 72 30 30 32 2e 73 74 64 6f 75 74 09 32 30 31 31 |r002.stdout.2011| 00000020 2d 30 39 2d 32 34 20 31 34 3a 31 31 3a 35 30 2e |-09-24 14:11:50.| 00000030 30 30 30 30 30 30 30 30 30 20 2b 30 31 30 30 0a |000000000 +0100.| 00000040 2b 2b 2b 20 64 65 63 6f 64 69 6e 67 65 72 72 6f |+++ decodingerro| 00000050 72 30 30 32 2e 72 75 6e 2e 73 74 64 6f 75 74 09 |r002.run.stdout.| 00000060 32 30 31 31 2d 30 39 2d 32 34 20 31 34 3a 31 34 |2011-09-24 14:14| 00000070 3a 33 32 2e 30 30 30 30 30 30 30 30 30 20 2b 30 |:32.000000000 +0| 00000080 31 30 30 0a 40 40 20 2d 31 2c 34 20 2b 31 2c 34 |100.@@ -1,4 +1,4| 00000090 20 40 40 0a 20 4c 65 66 74 20 64 65 63 6f 64 69 | @@. Left decodi| 000000a0 6e 67 65 72 72 6f 72 30 30 32 2e 69 6e 3a 20 68 |ngerror002.in: h| 000000b0 47 65 74 43 68 61 72 3a 20 69 6e 76 61 6c 69 64 |GetChar: invalid| 000000c0 20 61 72 67 75 6d 65 6e 74 20 28 69 6e 76 61 6c | argument (inval| 000000d0 69 64 20 62 79 74 65 20 73 65 71 75 65 6e 63 65 |id byte sequence| 000000e0 29 0a 20 4c 65 66 74 20 64 65 63 6f 64 69 6e 67 |). Left decoding| 000000f0 65 72 72 6f 72 30 30 32 2e 69 6e 3a 20 68 47 65 |error002.in: hGe| 00000100 74 43 68 61 72 3a 20 65 6e 64 20 6f 66 20 66 69 |tChar: end of fi| 00000110 6c 65 0a 20 ef bf bd 4c 65 66 74 20 64 65 63 6f |le. ...Left deco| 00000120 64 69 6e 67 65 72 72 6f 72 30 30 32 2e 69 6e 3a |dingerror002.in:| 00000130 20 68 47 65 74 43 68 61 72 3a 20 65 6e 64 20 6f | hGetChar: end o| 00000140 66 20 66 69 6c 65 0a 2d c8 4c 65 66 74 20 64 65 |f file.-.Left de| 00000150 63 6f 64 69 6e 67 65 72 72 6f 72 30 30 32 2e 69 |codingerror002.i| 00000160 6e 3a 20 68 47 65 74 43 68 61 72 3a 20 65 6e 64 |n: hGetChar: end| 00000170 20 6f 66 20 66 69 6c 65 0a 2b ed b3 88 4c 65 66 | of file.+...Lef| 00000180 74 20 64 65 63 6f 64 69 6e 67 65 72 72 6f 72 30 |t decodingerror0| 00000190 30 32 2e 69 6e 3a 20 68 47 65 74 43 68 61 72 3a |02.in: hGetChar:| 000001a0 20 65 6e 64 20 6f 66 20 66 69 6c 65 0a | end of file.| 000001ad Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
