summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unixInit.test10
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