summaryrefslogtreecommitdiffstats
path: root/tests/winFile.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-04 16:44:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-04 16:44:00 (GMT)
commit0aaf6122a593480ef13b8a66624a7565c087eb21 (patch)
treef7644f28c15c31d868333aa3946a4df606fce9db /tests/winFile.test
parentfd253d8677ffcef7052c8ac03cbd68c656835a35 (diff)
parentf2963d15d036e305300773f74a602c9c0a8c9229 (diff)
downloadtcl-0aaf6122a593480ef13b8a66624a7565c087eb21.zip
tcl-0aaf6122a593480ef13b8a66624a7565c087eb21.tar.gz
tcl-0aaf6122a593480ef13b8a66624a7565c087eb21.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/winFile.test')
-rw-r--r--tests/winFile.test7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/winFile.test b/tests/winFile.test
index b288063..d8d1b7c 100644
--- a/tests/winFile.test
+++ b/tests/winFile.test
@@ -10,11 +10,10 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {[catch {package require tcltest 2.0.2}]} {
- puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required."
- return
+if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
+ namespace import -force ::tcltest::*
}
-namespace import -force ::tcltest::*
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]