diff options
author | dgp <dgp@noemail.net> | 2004-08-19 17:59:16 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2004-08-19 17:59:16 (GMT) |
commit | 0396d7c37db378f5adf2b5b945c8cb7da6faf5d1 (patch) | |
tree | 3f628b976049e15ad751b0243c741e260f953d8e /tests | |
parent | c52c20721af2a53cfe4920c9f1b56b80f096861c (diff) | |
download | tk-0396d7c37db378f5adf2b5b945c8cb7da6faf5d1.zip tk-0396d7c37db378f5adf2b5b945c8cb7da6faf5d1.tar.gz tk-0396d7c37db378f5adf2b5b945c8cb7da6faf5d1.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.
FossilOrigin-Name: 951fc863480b8092dd6dd8aca47c23a1da08ea8e
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 e70b675..b9232b3 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.13 2004/03/17 18:15:49 das Exp $ +# RCS: @(#) $Id: safe.test,v 1.14 2004/08/19 17:59:18 dgp Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -55,14 +55,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} |