summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2021-03-31 10:38:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2021-03-31 10:38:25 (GMT)
commit4c25696376a8c5d1f66c51a06193e8dc815287f7 (patch)
treed9d8367476dd8deff3bebfb6f81b295845b91ee0 /tests/unixInit.test
parent2dab8fa488cce34d6dc5538612f1b1fba01c8ab5 (diff)
parent9406745440cf6387d6aaa25d4b595fba069cf5d0 (diff)
downloadtcl-4c25696376a8c5d1f66c51a06193e8dc815287f7.zip
tcl-4c25696376a8c5d1f66c51a06193e8dc815287f7.tar.gz
tcl-4c25696376a8c5d1f66c51a06193e8dc815287f7.tar.bz2
merge core-8-branch
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index aa3d50a..2ea7d8e 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -126,7 +126,7 @@ test unixInit-2.2 {TclpInitLibraryPath: TCL_LIBRARY} -setup {
set oldlibrary $env(TCL_LIBRARY)
}
} -body {
- # ((str != NULL) && (str[0] != '\0'))
+ # ((str != NULL) && (str[0] != '\x00'))
set env(TCL_LIBRARY) sparkly
lindex [getlibpath] 0
} -cleanup {
@@ -158,7 +158,7 @@ test unixInit-2.4 {TclpInitLibraryPath: TCL_LIBRARY: INTL} -setup {
}
} -body {
# Child process translates env variable from native encoding.
- set env(TCL_LIBRARY) "\xa7"
+ set env(TCL_LIBRARY) "§"
lindex [getlibpath] 0
} -cleanup {
unset -nocomplain env(TCL_LIBRARY) env(LANG)
@@ -166,7 +166,7 @@ test unixInit-2.4 {TclpInitLibraryPath: TCL_LIBRARY: INTL} -setup {
set env(TCL_LIBRARY) $oldlibrary
unset oldlibrary
}
-} -result "\xa7"
+} -result "§"
test unixInit-2.5 {TclpInitLibraryPath: compiled-in library path} {
# cannot test
} {}