summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-19 13:36:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-19 13:36:57 (GMT)
commit773c4c75ee2ec9d60766f09ced30a5fef6d812c6 (patch)
treea082b35638d63f5377898996bb748137c0ca382b /tests/io.test
parent357b7ce73369bce4e0b88aaa87e0b8a2c0eaa853 (diff)
parent0c7be9daeb83147f81ecd891b80398293c36e92a (diff)
downloadtcl-773c4c75ee2ec9d60766f09ced30a5fef6d812c6.zip
tcl-773c4c75ee2ec9d60766f09ced30a5fef6d812c6.tar.gz
tcl-773c4c75ee2ec9d60766f09ced30a5fef6d812c6.tar.bz2
merge trunk
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index f3c39f4..0688c14 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -17,6 +17,10 @@ if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
return
}
+
+::tcltest::loadTestedCommands
+catch [list package require -exact Tcltest [info patchlevel]]
+
namespace eval ::tcl::test::io {
namespace import ::tcltest::*
@@ -37,7 +41,7 @@ testConstraint fcopy [llength [info commands fcopy]]
testConstraint testfevent [llength [info commands testfevent]]
testConstraint testchannelevent [llength [info commands testchannelevent]]
testConstraint testmainthread [llength [info commands testmainthread]]
-testConstraint thread [expr {0 == [catch {package require Thread 2.6}]}]
+testConstraint thread [expr {0 == [catch {package require Thread 2.7-}]}]
# You need a *very* special environment to do some tests. In
# particular, many file systems do not support large-files...