summaryrefslogtreecommitdiffstats
path: root/tests/clock.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-28 14:52:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-28 14:52:43 (GMT)
commitf1d27388e7b49f9e14b733af9a6b698ea7aa1b60 (patch)
tree7c8d977863510bf506b626330a9aaf1f87a2daf5 /tests/clock.test
parentff13d5626daa06e0e53038819833eba01943772f (diff)
downloadtcl-f1d27388e7b49f9e14b733af9a6b698ea7aa1b60.zip
tcl-f1d27388e7b49f9e14b733af9a6b698ea7aa1b60.tar.gz
tcl-f1d27388e7b49f9e14b733af9a6b698ea7aa1b60.tar.bz2
[Bug 3549770] Multiple test failures running tcltest outside build tree
Diffstat (limited to 'tests/clock.test')
-rw-r--r--tests/clock.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clock.test b/tests/clock.test
index 42675a5..5db6273 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -17,8 +17,8 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
}
if {[testConstraint win]} {
- if {[catch {package require registry 1.1}]
- && [catch {load {} Registry}]
+ if {[catch {load {} Registry}]
+ && [catch {package require registry}]
&& [catch {
::tcltest::loadTestedCommands
load $::reglib Registry