summaryrefslogtreecommitdiffstats
path: root/tests/unixFile.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unixFile.test')
-rw-r--r--tests/unixFile.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unixFile.test b/tests/unixFile.test
index 8147f48..11957fe 100644
--- a/tests/unixFile.test
+++ b/tests/unixFile.test
@@ -4,18 +4,18 @@
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No output means no errors were found.
#
-# Copyright (c) 1998-1999 by Scriptics Corporation.
+# Copyright © 1998-1999 Scriptics Corporation.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest
+if {"::tcltest" ni [namespace children]} {
+ package require tcltest 2.5
namespace import -force ::tcltest::*
}
::tcltest::loadTestedCommands
-catch [list package require -exact Tcltest [info patchlevel]]
+catch [list package require -exact tcl::test [info patchlevel]]
testConstraint testfindexecutable [llength [info commands testfindexecutable]]