summaryrefslogtreecommitdiffstats
path: root/tests/encoding.test
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)
commitd409a9b06588b300731c036cac349d30b8980bb5 (patch)
tree886d35a2b52ae7d8ce239df2f42a8f80c6585bac /tests/encoding.test
parent4e43d260f93216348337518eaead94855b2dadbf (diff)
downloadtcl-d409a9b06588b300731c036cac349d30b8980bb5.zip
tcl-d409a9b06588b300731c036cac349d30b8980bb5.tar.gz
tcl-d409a9b06588b300731c036cac349d30b8980bb5.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