summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-04-24 01:46:50 (GMT)
committerstanton <stanton@noemail.net>1999-04-24 01:46:50 (GMT)
commit1518fbfc2f6d7a8c0f54b48c3625a77e2e0f41e5 (patch)
treeee21dbcb6a2c11333b3f9276847c8e7e44e47052 /tests/unixInit.test
parent5cdbbebf9537313be9d0e83ec4ca36a0d897b4b3 (diff)
downloadtcl-1518fbfc2f6d7a8c0f54b48c3625a77e2e0f41e5.zip
tcl-1518fbfc2f6d7a8c0f54b48c3625a77e2e0f41e5.tar.gz
tcl-1518fbfc2f6d7a8c0f54b48c3625a77e2e0f41e5.tar.bz2
merged 8.1.0 changes into mainline
FossilOrigin-Name: 6291aaa1d5ba4514bdcbed6c4471d41112d2d49c
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 7ed56b7..84fcdb0 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.4 1999/04/21 21:50:31 rjohnson Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.5 1999/04/24 01:46:53 stanton Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -90,7 +90,7 @@ test unixInit-2.1 {TclpInitLibraryPath: value of installLib, developLib} \
set x {}
lappend x [string compare [lindex $path 0] $prefix/$installLib]
- lappend x [string compare [lindex $path 1] [file dirname $prefix]/$developLib]
+ lappend x [string compare [lindex $path 4] [file dirname $prefix]/$developLib]
set x
} {0 0}
test unixInit-2.2 {TclpInitLibraryPath: TCL_LIBRARY} {unixOnly installedTcl} {
@@ -139,7 +139,7 @@ test unixInit-2.6 {TclpInitLibraryPath: executable relative} \
set x [lrange [getlibpath /tmp/sparkly/bin/tcltest] 0 1]
file delete -force /tmp/sparkly
set x
-} [list /tmp/sparkly/lib/tcl[info tclversion] /tmp/tcl[info tclversion]/library]
+} [list /tmp/sparkly/lib/tcl[info tclversion] /tmp/lib/tcl[info tclversion]]
test unixInit-2.7 {TclpInitLibraryPath: compiled-in library path} \
{emptyTest unixOnly} {
# would need test command to get defaultLibDir and compare it to