summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2001-08-27 02:14:08 (GMT)
committerdgp <dgp@noemail.net>2001-08-27 02:14:08 (GMT)
commitc54a19f19d7882eb59b22b5b1f5ad4d555e6a7d7 (patch)
treef31e368814b12a6533c90e289fe7be521f22108f /tests
parenta7c7189dfbb5c68d39afb72edc63eeac795c5ad4 (diff)
downloadtcl-c54a19f19d7882eb59b22b5b1f5ad4d555e6a7d7.zip
tcl-c54a19f19d7882eb59b22b5b1f5ad4d555e6a7d7.tar.gz
tcl-c54a19f19d7882eb59b22b5b1f5ad4d555e6a7d7.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] FossilOrigin-Name: 787474d7135d9d497ad0b1009d2bdedb4dcff987
Diffstat (limited to 'tests')
-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