summaryrefslogtreecommitdiffstats
path: root/tests/registry.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/registry.test')
-rw-r--r--tests/registry.test7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/registry.test b/tests/registry.test
index e02a538..ab692aa 100644
--- a/tests/registry.test
+++ b/tests/registry.test
@@ -9,7 +9,7 @@
#
# Copyright (c) 1997 by Sun Microsystems, Inc. All rights reserved.
#
-# RCS: @(#) $Id: registry.test,v 1.2 1998/09/14 18:40:13 stanton Exp $
+# RCS: @(#) $Id: registry.test,v 1.3 1998/11/02 23:04:14 stanton Exp $
if {$tcl_platform(platform) != "windows"} {
return
@@ -17,7 +17,10 @@ if {$tcl_platform(platform) != "windows"} {
if {[string compare test [info procs test]] == 1} then {source defs}
-if [catch {package require registry}] {
+set lib [lindex [glob [file join [pwd] [file dirname \
+ [info nameofexecutable]] tclreg*.dll]] 0]
+
+if [catch {load $lib registry}] {
puts "Unable to find the registry package. Skipping registry tests."
return
}