diff options
author | hobbs <hobbs@noemail.net> | 2002-02-22 21:51:33 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-02-22 21:51:33 (GMT) |
commit | 55ec12239dd1d1cfe17c3e16c267c7c1c4d55ee7 (patch) | |
tree | 739da96d900a76b58080ce2094e6b3fe94ba1226 /tests/safe.test | |
parent | be4a43b69ab27580d2593015b25bc665d929bfb7 (diff) | |
download | tcl-55ec12239dd1d1cfe17c3e16c267c7c1c4d55ee7.zip tcl-55ec12239dd1d1cfe17c3e16c267c7c1c4d55ee7.tar.gz tcl-55ec12239dd1d1cfe17c3e16c267c7c1c4d55ee7.tar.bz2 |
updated safe-8.5 and safe-8.7
FossilOrigin-Name: 8eaff4d506648036816ba28084cf3cc7483a04c6
Diffstat (limited to 'tests/safe.test')
-rw-r--r-- | tests/safe.test | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/safe.test b/tests/safe.test index 1642d8e..202afdf 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.11 2002/02/15 14:28:50 dkf Exp $ +# RCS: @(#) $Id: safe.test,v 1.12 2002/02/22 21:51:34 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -271,6 +271,8 @@ test safe-8.4 {safe source control on file} { test safe-8.5 {safe source control on file} { + # This tested filename == *.tcl or tclIndex, but that restriction + # was removed in 8.4a4 - hobbs set i "a"; catch {safe::interpDelete $i} safe::interpCreate $i; @@ -283,7 +285,7 @@ test safe-8.5 {safe source control on file} { $log \ [safe::setLogCmd $prevlog; unset log] \ [safe::interpDelete $i] ; -} "1 {blah: must be a *.tcl or tclIndex} {{ERROR for slave a : [file join [info library] blah]:blah: must be a *.tcl or tclIndex}} {} {}" +} "1 {no such file or directory} {{ERROR for slave a : [file join [info library] blah]:no such file or directory}} {} {}" test safe-8.6 {safe source control on file} { @@ -303,6 +305,8 @@ test safe-8.6 {safe source control on file} { test safe-8.7 {safe source control on file} { + # This tested length of filename, but that restriction + # was removed in 8.4a4 - hobbs set i "a"; catch {safe::interpDelete $i} safe::interpCreate $i; @@ -316,7 +320,7 @@ test safe-8.7 {safe source control on file} { $log \ [safe::setLogCmd $prevlog; unset log] \ [safe::interpDelete $i] ; -} "1 {xxxxxxxxxxx.tcl: filename too long} {{ERROR for slave a : [file join [info library] xxxxxxxxxxx.tcl]:xxxxxxxxxxx.tcl: filename too long}} {} {}" +} "1 {no such file or directory} {{ERROR for slave a : [file join [info library] xxxxxxxxxxx.tcl]:no such file or directory}} {} {}" test safe-8.8 {safe source forbids -rsrc} { set i "a"; |