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