diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-23 00:19:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-23 00:19:46 (GMT) |
commit | 13eb211d5add69c9c05892fd9dff2dc5aa7dbaf0 (patch) | |
tree | 3f18de5e37772768b6d2c8e083a150b42a70ab3e /tests | |
parent | b5e5883c33bfb1181ca092358479a4439fa3280b (diff) | |
download | tcl-13eb211d5add69c9c05892fd9dff2dc5aa7dbaf0.zip tcl-13eb211d5add69c9c05892fd9dff2dc5aa7dbaf0.tar.gz tcl-13eb211d5add69c9c05892fd9dff2dc5aa7dbaf0.tar.bz2 |
leave unixInit-3.2 as-is
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unixInit.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test index 16d9e64..8e64c7a 100644 --- a/tests/unixInit.test +++ b/tests/unixInit.test @@ -346,6 +346,8 @@ test unixInit-3.1 {TclpSetInitialEncodings} -constraints { } -match regexp -result {^(iso8859-15?|utf-8)$} test unixInit-3.2 {TclpSetInitialEncodings} -setup { catch {set oldlc_all $env(LC_ALL)} + catch {set oldtcl_library $env(TCL_LIBRARY)} + unset -nocomplain env(TCL_LIBRARY) } -constraints {unix stdio knownBug} -body { set env(LANG) japanese set env(LC_ALL) japanese @@ -364,6 +366,7 @@ test unixInit-3.2 {TclpSetInitialEncodings} -setup { } -cleanup { unset -nocomplain env(LANG) env(LC_ALL) catch {set env(LC_ALL) $oldlc_all} + catch {set env(TCL_LIBRARY) $oldtcl_library} } -result 0 test unixInit-4.1 {TclpSetVariables} {unix} { |