diff options
author | dgp <dgp@users.sourceforge.net> | 2001-08-24 14:59:20 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-08-24 14:59:20 (GMT) |
commit | ae875835e44e8d1497214500d33f2854f8f9d242 (patch) | |
tree | a9cba91938f7f3cd0b588fa34ded44fe33bf1b8d | |
parent | 5a5fd5e2cd3ad0ff7060758b0ca4dfeced41755b (diff) | |
download | tcl-ae875835e44e8d1497214500d33f2854f8f9d242.zip tcl-ae875835e44e8d1497214500d33f2854f8f9d242.tar.gz tcl-ae875835e44e8d1497214500d33f2854f8f9d242.tar.bz2 |
* Corrected expected result
to match Tcl's quirky construction of its init library path.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/unixInit.test | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2001-08-24 Don Porter <dgp@users.sourceforge.net> + + * tests/unixInit.test (unixInit-2.9): Corrected expected result + to match Tcl's quirky construction of its init library path. + 2001-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net> * win/tclWinPipe.c (BuildCommandLine): Fixed tcl Bug diff --git a/tests/unixInit.test b/tests/unixInit.test index 6a7b2c6..0552e50 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.21 2001/07/12 16:26:57 dgp Exp $ +# RCS: @(#) $Id: unixInit.test,v 1.22 2001/08/24 14:59:20 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -269,7 +269,9 @@ 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 /tcl[info patchlevel]/library] + /tmp/library /library [format /tcl%s/library \ + [expr {[regexp {[ab]} [info patchlevel]] ? + [info patchleve] : [info tclversion]}]]] test unixInit-3.1 {TclpSetInitialEncodings} {unixOnly installedTcl} { set env(LANG) C |