summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2009-11-16 17:03:28 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2009-11-16 17:03:28 (GMT)
commit64906c8a9abb456b5774b3baab128c12b50fc4b1 (patch)
tree886d35a2b52ae7d8ce239df2f42a8f80c6585bac /tests
parentb2b8497dcdba3f96cd1cd286c39c0f0262489f68 (diff)
downloadtcl-64906c8a9abb456b5774b3baab128c12b50fc4b1.zip
tcl-64906c8a9abb456b5774b3baab128c12b50fc4b1.tar.gz
tcl-64906c8a9abb456b5774b3baab128c12b50fc4b1.tar.bz2
(Backport) Fix [Bug 2891556] and improve test to detect similar manifestations in the future.
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