diff options
author | dgp <dgp@users.sourceforge.net> | 2004-10-26 23:22:59 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-10-26 23:22:59 (GMT) |
commit | 49f35fcfc9ae3237a21dea1a0d10496d25aecd1a (patch) | |
tree | 54e05130f9ac14726b309d42355a37e0b17a57bf /tests | |
parent | b485f2b4fade260ea9fcb8a29751b2315eb801af (diff) | |
download | tk-49f35fcfc9ae3237a21dea1a0d10496d25aecd1a.zip tk-49f35fcfc9ae3237a21dea1a0d10496d25aecd1a.tar.gz tk-49f35fcfc9ae3237a21dea1a0d10496d25aecd1a.tar.bz2 |
* tests/safe.test (safe-1.3): Made test less sensitve to the
full set of existing aliases in an interp, so the it only tests
whether the tested ones are present.
* unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from
`make shell` target to other similar targets so that just built
libraries are tested, rather than previous installations.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/safe.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/safe.test b/tests/safe.test index 060a1e1..45976c3 100644 --- a/tests/safe.test +++ b/tests/safe.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: safe.test,v 1.10 2002/09/02 19:16:24 hobbs Exp $ +# RCS: @(#) $Id: safe.test,v 1.10.2.1 2004/10/26 23:23:13 dgp Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -60,14 +60,14 @@ test safe-1.2 {Safe Tk loading into an interpreter} { safe::interpDelete a set l } $hidden_cmds -test safe-1.3 {Safe Tk loading into an interpreter} { +test safe-1.3 {Safe Tk loading into an interpreter} -body { catch {safe::interpDelete a} safe::interpCreate a safe::loadTk a set l [lsort [interp aliases a]] safe::interpDelete a set l -} {encoding exit file load source} +} -match glob -result {*encoding*exit*file*load*source*} test safe-2.1 {Unsafe commands not available} { catch {safe::interpDelete a} |