summaryrefslogtreecommitdiffstats
path: root/tests/msgcat.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-07-18 16:50:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-07-18 16:50:22 (GMT)
commitb40d7eb1f9fd438d96313292e9ff667799c7e911 (patch)
tree3762476e74c48c880cd6ab66a29d7202b771a124 /tests/msgcat.test
parent9cc388df3d06570e47d68f284a74f4fa26b45426 (diff)
parent3766e26550a1315f09945ab1162d78d0143d32a2 (diff)
downloadtcl-b40d7eb1f9fd438d96313292e9ff667799c7e911.zip
tcl-b40d7eb1f9fd438d96313292e9ff667799c7e911.tar.gz
tcl-b40d7eb1f9fd438d96313292e9ff667799c7e911.tar.bz2
[104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached channel name lookups.
Also merge backlog of test suite & doc improvements.
Diffstat (limited to 'tests/msgcat.test')
-rw-r--r--tests/msgcat.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/msgcat.test b/tests/msgcat.test
index f50ebfb..e69220e 100644
--- a/tests/msgcat.test
+++ b/tests/msgcat.test
@@ -68,6 +68,7 @@ namespace eval ::msgcat::test {
set result c
}
}
+
test msgcat-0.$count [list \
locale initialization from environment variables $setVars \
] -setup {
@@ -974,6 +975,9 @@ namespace eval ::msgcat::test {
set bgerrorsaved [interp bgerror {}]
interp bgerror {} [namespace code callbackproc]
+ variable locale
+ if {![info exist locale]} { set locale [mclocale] }
+
test msgcat-14.1 {invokation loadcmd} -setup {
mcforgetpackage
mclocale $locale
@@ -1068,7 +1072,7 @@ namespace eval ::msgcat::test {
mc k1
} -returnCodes 1\
-result {fail}
-
+
interp bgerror {} $bgerrorsaved
cleanupTests
@@ -1076,3 +1080,6 @@ namespace eval ::msgcat::test {
namespace delete ::msgcat::test
return
+# Local Variables:
+# mode: tcl
+# End: