diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-12-16 14:04:05 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-12-16 14:04:05 (GMT) |
commit | a71c14e5ab7004c6ff446303a9c13b2bdcadd57d (patch) | |
tree | 06526f32ba540f4985cb92daf59f3c37ff39389b /tests | |
parent | 894dbbff69d131d1c06069c37e677a8ff4fb9123 (diff) | |
download | tcl-a71c14e5ab7004c6ff446303a9c13b2bdcadd57d.zip tcl-a71c14e5ab7004c6ff446303a9c13b2bdcadd57d.tar.gz tcl-a71c14e5ab7004c6ff446303a9c13b2bdcadd57d.tar.bz2 |
[Bug 1911342]: Rewrite formatting to avoid bogus link from tm.n to list.n in
the HTML documentation.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/safe.test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/safe.test b/tests/safe.test index ccaae26..8c26d20 100644 --- a/tests/safe.test +++ b/tests/safe.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: safe.test,v 1.22.4.2 2009/12/09 22:34:20 andreas_kupries Exp $ +# RCS: @(#) $Id: safe.test,v 1.22.4.3 2009/12/16 14:04:05 dkf Exp $ package require Tcl 8.5 @@ -463,6 +463,13 @@ test safe-11.8 {testing safe encoding} { [safe::interpDelete $i]; } {1 {wrong # args: should be "encoding convertto ?encoding? data"} {}} +test safe-12.1 {glob is restricted [Bug 2906841]} -setup { + set i [safe::interpCreate] +} -body { + $i eval glob ../* +} -returnCodes error -cleanup { + safe::interpDelete $i +} -result "permission denied" set ::auto_path $saveAutoPath # cleanup |