summaryrefslogtreecommitdiffstats
path: root/tests/encoding.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/encoding.test')
-rw-r--r--tests/encoding.test6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index 23d6b38..49d9066 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -1102,12 +1102,8 @@ test encoding-bug-183a1adcc0-4 {Bug [183a1adcc0] Buffer overflow Tcl_UtfToExtern
} -result [list 0 [list nospace {} \x00\x00\xFF]]
test encoding-bug-183a1adcc0-5 {Bug [183a1adcc0] Buffer overflow Tcl_UtfToExternal} -constraints {
- testencoding ucs2 knownBug
+ testencoding
} -body {
- # The knownBug constraint is because test depends on TCL_UTF_MAX and
- # also UtfToUtf16 assumes space required in destination buffer is
- # sizeof(Tcl_UniChar) which is incorrect when TCL_UTF_MAX==4
- # Note - buffers are initialized to \xFF
list [catch {testencoding Tcl_UtfToExternal utf-16 A {start end} {} 4} result] $result
} -result [list 0 [list ok {} [expr {$::tcl_platform(byteOrder) eq "littleEndian" ? "\x41\x00" : "\x00\x41"}]\x00\x00]]