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 | a9e197a7ae5fbaf4553abbe4bdd7b287c6fe16b1 (patch) | |
tree | 539ad39601a0f0675712c69731aa6eb1a4d878b3 /tests/pkg.test | |
parent | 52433afc774a622cd099b4ea3ad887c4ec60eba0 (diff) | |
download | tcl-a9e197a7ae5fbaf4553abbe4bdd7b287c6fe16b1.zip tcl-a9e197a7ae5fbaf4553abbe4bdd7b287c6fe16b1.tar.gz tcl-a9e197a7ae5fbaf4553abbe4bdd7b287c6fe16b1.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.
Diffstat (limited to 'tests/pkg.test')
-rw-r--r-- | tests/pkg.test | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |