diff options
| author | dgp@users.sourceforge.net <dgp> | 2002-07-24 21:05:19 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2002-07-24 21:05:19 (GMT) |
| commit | cf8504c6943bf3791ddc2ecaff2f448fdfa0e2a5 (patch) | |
| tree | 23af067c45202349ba05864c8d4f83c81f34ea6a /tests/unixInit.test | |
| parent | d80b534a28e478dc269f4a2f1c81b7de536218e2 (diff) | |
| download | tcl-cf8504c6943bf3791ddc2ecaff2f448fdfa0e2a5.zip tcl-cf8504c6943bf3791ddc2ecaff2f448fdfa0e2a5.tar.gz tcl-cf8504c6943bf3791ddc2ecaff2f448fdfa0e2a5.tar.bz2 | |
* tests/unixInit.test: relaxed unixInit-3.1 to accept iso8859-15
as a valid C encoding. [Bug 575336]
Diffstat (limited to 'tests/unixInit.test')
| -rw-r--r-- | tests/unixInit.test | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test index a5f5303..b4576b7 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.28 2002/07/15 20:39:42 dgp Exp $ +# RCS: @(#) $Id: unixInit.test,v 1.29 2002/07/24 21:05:19 dgp Exp $ package require tcltest 2 namespace import -force ::tcltest::* @@ -266,7 +266,9 @@ test unixInit-2.9 {TclpInitLibraryPath: paths relative to executable} {unix noSp set x } [list /tmp/lib/tcl[info tclversion] /lib/tcl[info tclversion] \ /tmp/library /library /tcl[info patchlevel]/library] -test unixInit-3.1 {TclpSetInitialEncodings} {unixOnly stdio} { +test unixInit-3.1 {TclpSetInitialEncodings} -constraints { + unixOnly stdio +} -body { set env(LANG) C set f [open "|[list [interpreter]]" w+] @@ -277,7 +279,7 @@ test unixInit-3.1 {TclpSetInitialEncodings} {unixOnly stdio} { unset env(LANG) set enc -} {iso8859-1} +} -match regexp -result ^iso8859-15?$ test unixInit-3.2 {TclpSetInitialEncodings} {unixOnly stdio} { set env(LANG) japanese catch {set oldlc_all $env(LC_ALL)} |
