diff options
author | rjohnson <rjohnson@noemail.net> | 1999-07-07 23:08:12 (GMT) |
---|---|---|
committer | rjohnson <rjohnson@noemail.net> | 1999-07-07 23:08:12 (GMT) |
commit | 884907119a0f0b49d6d0b70766030972eccc6338 (patch) | |
tree | 9a8b12abac1b4fa90a7ed7e9637021318dc6ca2f /tests/unixInit.test | |
parent | 536efa9be7ecb7f80b6d359f74ec7de0eb63209a (diff) | |
download | tcl-884907119a0f0b49d6d0b70766030972eccc6338.zip tcl-884907119a0f0b49d6d0b70766030972eccc6338.tar.gz tcl-884907119a0f0b49d6d0b70766030972eccc6338.tar.bz2 |
Made test encoding test understand platform differences.
FossilOrigin-Name: f6d0bb0e6ae4cb484caaa998910d08c24061a2bb
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r-- | tests/unixInit.test | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test index 3c20204..9426ec6 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.8 1999/07/01 17:36:20 jenn Exp $ +# RCS: @(#) $Id: unixInit.test,v 1.9 1999/07/07 23:08:13 rjohnson Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -168,8 +168,12 @@ test unixInit-3.2 {TclpSetInitialEncodings} {unixOnly installedTcl} { close $f unset env(LANG) - set enc -} {euc-jp} + switch $tcl_platform(os) { + HP-UX {set expectedEncoding shiftjis} + default {set expectedEncoding euc-jp} + } + string compare $enc $expectedEncoding +} 0 test unixInit-4.1 {TclpSetVariables} {unixOnly} { # just make sure they exist |