exec-2.6 fails
Closed / Fixed2788468fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-05-07 15:41:42
Comment in the test shows this failure is anticipated.
==== exec-2.6 redirecting input from immediate source, with UTF FAILED
==== Contents of test case:
# If this fails, it may give back: "\uC3\uA9\uC3\uA0\uC3\uBC\uC3\uB1"
# If it does, this means that the UTF -> external conversion did not occur
# before writing out the temp file.
quotenonascii [exec [interpreter] $path(cat) << "\uE9\uE0\uFC\uF1"]
---- Result was:
\u00c3\u00a9\u00c3\u00a0\u00c3\u00bc\u00c3\u00b1
---- Result should have been (exact matching):
\u00e9\u00e0\u00fc\u00f1
==== exec-2.6 FAILED
dkf Ticket [2788468fff]: 1 change
[History diff]2009-05-08 02:39:11
dkfplain2009-05-08 15:16:54
allow_comments - 1 Grr. Transformation was being performed in the scripted 'cat' replacement. Made it work like Unix cat instead, which makes problem go away. (This ensued from issue:1513659 but only demonstrates that writing tests that actually test these bits and pieces is genuinely tricky; we don't want these tests to be testing the encoding system, as that's the subject of another test file...)
Log in (anonymous is fine) to add a comment.