summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-11-08 10:40:31 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-11-08 10:40:31 (GMT)
commit7d16c9044ecbe5c1191d68fe64dbf84380a9f59c (patch)
tree2c29ca562fd80fb724ae50fd8141b74f509a717e /tests/unixInit.test
parent4abbc2cf7d7043992c162fa81a60295f543947a4 (diff)
downloadtcl-7d16c9044ecbe5c1191d68fe64dbf84380a9f59c.zip
tcl-7d16c9044ecbe5c1191d68fe64dbf84380a9f59c.tar.gz
tcl-7d16c9044ecbe5c1191d68fe64dbf84380a9f59c.tar.bz2
TESTBUGFIX: The C locale is more commonly based on UTF-8 than it used to be.
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 0469ee8..74307dd 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -341,8 +341,7 @@ test unixInit-3.1 {TclpSetInitialEncodings} -constraints {
return $enc
} -cleanup {
unset -nocomplain env(LANG)
-} -match regexp -result [expr {
- ($tcl_platform(os) eq "Darwin") ? "^utf-8$" : "^iso8859-15?$"}]
+} -match regexp -result {^(iso8859-15?|utf-8)$}
test unixInit-3.2 {TclpSetInitialEncodings} -setup {
catch {set oldlc_all $env(LC_ALL)}
} -constraints {unix stdio} -body {