pkgsrc-ng/lang/tcl/patches/patch-tests_load.test
2013-09-26 17:14:40 +02:00

16 lines
603 B
Plaintext

$NetBSD: patch-tests_load.test,v 1.1 2012/08/21 21:31:47 marino Exp $
Carried over from TCL 8.4
--- tests/load.test.orig 2012-07-16 11:57:06.000000000 +0000
+++ tests/load.test
@@ -21,7 +21,7 @@ if {![info exists ext]} {
set ext [info sharedlibextension]
}
# Tests require the existence of one of the DLLs in the dltest directory.
-set testDir [file join [file dirname [info nameofexecutable]] dltest]
+set testDir [file join [file dirname [info nameofexecutable]] .. dltest .libs ]
set x [file join $testDir pkga$ext]
set dll "[file tail $x]Required"
testConstraint $dll [file readable $x]