summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorferrieux <ferrieux@noemail.net>2009-11-16 17:03:28 (GMT)
committerferrieux <ferrieux@noemail.net>2009-11-16 17:03:28 (GMT)
commit4cf40605e293cf771d01e83c0ee6beed43acb5b0 (patch)
tree886d35a2b52ae7d8ce239df2f42a8f80c6585bac /tests
parent68c8a559b73fe88b6f33549856cdef6b5893f7bc (diff)
downloadtcl-4cf40605e293cf771d01e83c0ee6beed43acb5b0.zip
tcl-4cf40605e293cf771d01e83c0ee6beed43acb5b0.tar.gz
tcl-4cf40605e293cf771d01e83c0ee6beed43acb5b0.tar.bz2
(Backport) Fix [Bug 2891556] and improve test to detect similar manifestations in the future.
FossilOrigin-Name: c3e579d8e45027863b1f1b27f39b049395102276
Diffstat (limited to 'tests')
-rw-r--r--tests/encoding.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index 4e5a7fa..22d5c9b 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: encoding.test,v 1.16.2.3 2006/10/05 21:24:56 hobbs Exp $
+# RCS: @(#) $Id: encoding.test,v 1.16.2.4 2009/11/16 17:03:29 ferrieux Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -402,6 +402,7 @@ test encoding-24.2 {EscapeFreeProc on open channels} -constraints {
} -setup {
# Bug #524674 output
set file [makeFile {
+ encoding system cp1252; # Bug #2891556 crash revelator
fconfigure stdout -encoding iso2022-jp
puts ab\u4e4e\u68d9g
exit