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 ffa2961..5196cfb 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.1.2.2 1998/09/24 23:59:34 stanton Exp $
+# RCS: @(#) $Id: registry.test,v 1.1.2.3 1998/11/11 04:08:33 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
}