summaryrefslogtreecommitdiffstats
path: root/tests/unixInit.test
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2001-08-27 02:14:08 (GMT)
committerdgp@users.sourceforge.net <dgp>2001-08-27 02:14:08 (GMT)
commit87a3a0d9115900fea77d592bac56d7d79f944c52 (patch)
treef31e368814b12a6533c90e289fe7be521f22108f /tests/unixInit.test
parent1d7b4764e4ad56ec8e91c42408e3dd2085951eed (diff)
downloadtcl-87a3a0d9115900fea77d592bac56d7d79f944c52.zip
tcl-87a3a0d9115900fea77d592bac56d7d79f944c52.tar.gz
tcl-87a3a0d9115900fea77d592bac56d7d79f944c52.tar.bz2
* Corrected
inconsistency between the search path for script libraries and the directory name $DISTNAME into which distributions built by 'make test' unpack. [Bug 455642]
Diffstat (limited to 'tests/unixInit.test')
-rw-r--r--tests/unixInit.test12
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 0552e50..d94ea98 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.22 2001/08/24 14:59:20 dgp Exp $
+# RCS: @(#) $Id: unixInit.test,v 1.23 2001/08/27 02:14:08 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -139,11 +139,7 @@ test unixInit-2.1 {TclpInitLibraryPath: value of installLib, developLib} \
set path [getlibpath]
set installLib lib/tcl[info tclversion]
- if {[string match {*[ab]*} [info patchlevel]]} {
- set developLib tcl[info patchlevel]/library
- } else {
- set developLib tcl[info tclversion]/library
- }
+ set developLib tcl[info patchlevel]/library
set prefix [file dirname [file dirname $::tcltest::tcltest]]
set x {}
@@ -269,9 +265,7 @@ test unixInit-2.9 {TclpInitLibraryPath: paths relative to executable} {
file delete -force /tmp/library
set x
} [list /tmp/lib/tcl[info tclversion] /lib/tcl[info tclversion] \
- /tmp/library /library [format /tcl%s/library \
- [expr {[regexp {[ab]} [info patchlevel]] ?
- [info patchleve] : [info tclversion]}]]]
+ /tmp/library /library /tcl[info patchlevel]/library]
test unixInit-3.1 {TclpSetInitialEncodings} {unixOnly installedTcl} {
set env(LANG) C