diff options
author | dgp <dgp@noemail.net> | 2004-04-06 14:35:31 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2004-04-06 14:35:31 (GMT) |
commit | d89e73fbbdd3e3ae2228cce783e59f0e4fec7627 (patch) | |
tree | ae31601dc74247ee3236489b7dede36fe220cf25 | |
parent | 201e96f6d7394c5d2c6ed4f4a77a8aa162010028 (diff) | |
download | tcl-d89e73fbbdd3e3ae2228cce783e59f0e4fec7627.zip tcl-d89e73fbbdd3e3ae2228cce783e59f0e4fec7627.tar.gz tcl-d89e73fbbdd3e3ae2228cce783e59f0e4fec7627.tar.bz2 |
* tests/unixInit.test (unixInit-3.1): Default encoding on Darwin
systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
FossilOrigin-Name: 8eebfd07afabbcc5e292f839d147d985424f5fbe
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/unixInit.test | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2004-04-06 Don Porter <dgp@users.sourceforge.net> + + * tests/unixInit.test (unixInit-3.1): Default encoding on Darwin + systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808] + 2004-04-06 Donal K. Fellows <donal.k.fellows@man.ac.uk> * tests/cmdAH.test (cmdAH-18.2): Added constraint because diff --git a/tests/unixInit.test b/tests/unixInit.test index 0ebf10c..c5bedbe 100644 --- a/tests/unixInit.test +++ b/tests/unixInit.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: unixInit.test,v 1.34 2004/02/25 23:56:59 dgp Exp $ +# RCS: @(#) $Id: unixInit.test,v 1.35 2004/04/06 14:35:39 dgp Exp $ package require tcltest 2 namespace import -force ::tcltest::* @@ -313,7 +313,9 @@ test unixInit-3.1 {TclpSetInitialEncodings} -constraints { unset env(LANG) set enc -} -match regexp -result ^iso8859-15?$ +} -match regexp -result [expr { + ($tcl_platform(os) eq "Darwin") ? "^utf-8$" : "^iso8859-15?$"}] + test unixInit-3.2 {TclpSetInitialEncodings} {unixOnly stdio} { set env(LANG) japanese catch {set oldlc_all $env(LC_ALL)} |