diff options
author | dgp <dgp@users.sourceforge.net> | 2006-04-05 01:42:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-04-05 01:42:10 (GMT) |
commit | 592eb8284acbfe046b6d3795b1d6e28cb3b15b23 (patch) | |
tree | 539ad39601a0f0675712c69731aa6eb1a4d878b3 | |
parent | 0747461b1aea6f1d59f14763ce78b7e0b3604a87 (diff) | |
download | tcl-592eb8284acbfe046b6d3795b1d6e28cb3b15b23.zip tcl-592eb8284acbfe046b6d3795b1d6e28cb3b15b23.tar.gz tcl-592eb8284acbfe046b6d3795b1d6e28cb3b15b23.tar.bz2 |
* generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08
* tests/pkg.test: to be even more forgiving of package version mismatch errors in [package ifneeded] commands, not even logging any warning messages. This further reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | tests/pkg.test | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -1,10 +1,10 @@ 2006-04-04 Don Porter <dgp@users.sourceforge.net> * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08 - to be even more forgiving of package version mismatch errors in - [package ifneeded] commands, not even logging any warning messages. - This further reduces the ***POTENTIAL INCOMPATIBILITY*** noted for - that change. + * tests/pkg.test: to be even more forgiving of package version + mismatch errors in [package ifneeded] commands, not even logging any + warning messages. This further reduces the + ***POTENTIAL INCOMPATIBILITY*** noted for that change. 2006-04-03 Andreas Kupries <andreask@activestate.com> diff --git a/tests/pkg.test b/tests/pkg.test index d3796af..83488a1 100644 --- a/tests/pkg.test +++ b/tests/pkg.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: pkg.test,v 1.9.12.3 2005/12/02 17:17:13 dgp Exp $ +# RCS: @(#) $Id: pkg.test,v 1.9.12.4 2006/04/05 01:42:16 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -351,7 +351,7 @@ test pkg-2.34 {Tcl_PkgRequire: consistent return values (1162286)} -setup { package require foo 1 } -cleanup { package forget foo -} -match glob -result 1.1 -errorOutput {attempt to provide package * failed:*} +} -result 1.1 test pkg-2.34.1 {Tcl_PkgRequire: consistent return values (1162286)} -setup { package forget foo } -body { @@ -359,7 +359,7 @@ test pkg-2.34.1 {Tcl_PkgRequire: consistent return values (1162286)} -setup { package require foo 1 } -cleanup { package forget foo -} -match glob -result 1 -errorOutput {attempt to provide package * failed:*} +} -result 1 test pkg-2.34.2 {Tcl_PkgRequire: consistent return values (1162286)} -setup { package forget foo } -body { |