openbsd-ports/x11/itk/patches/patch-tests_interp_test
sebastia b75daa68cf Update to new Tcl layout.
Remove MAINTAINER, he is unreachable via this e-mail.

OK landry@, stu@
2011-01-05 19:15:09 +00:00

25 lines
1.0 KiB
Plaintext

$OpenBSD: patch-tests_interp_test,v 1.2 2011/01/05 19:15:09 sebastia Exp $
--- tests/interp.test.orig Wed Sep 22 11:37:08 2004
+++ tests/interp.test Wed Dec 22 15:24:32 2010
@@ -31,13 +31,13 @@ test interp-1.1 {create a slave interp with [incr Tk]}
list [slave eval "namespace children :: ::itk"] [interp delete slave]
} {::itk {}}
-test interp-1.2 {can't load [incr Tk] into a safe interp} {
- interp create -safe slave
- load "" Itcl slave
- set result [list [catch {load "" Itk slave} msg] $msg]
- interp delete slave
- set result
-} {1 {can't use package in a safe interpreter: no Itk_SafeInit procedure}}
+#test interp-1.2 {can't load [incr Tk] into a safe interp} {
+# interp create -safe slave
+# load "" Itcl slave
+# set result [list [catch {load "" Itk slave} msg] $msg]
+# interp delete slave
+# set result
+#} {1 {can't use package in a safe interpreter: no Itk_SafeInit procedure}}
test interp-1.3 {errors are okay when slave interp is deleted} {
interp create slave