diff options
author | dgp <dgp@users.sourceforge.net> | 2002-05-10 18:47:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-05-10 18:47:09 (GMT) |
commit | da9484fbf5716a8c56f0aa4517318cbee778e4fb (patch) | |
tree | eabc231534b8a92015e3086cfd9214f9ececc217 /tests/safe.test | |
parent | 672777daedebcd7b127dcd8a4950170fb370a2c9 (diff) | |
download | tcl-da9484fbf5716a8c56f0aa4517318cbee778e4fb.zip tcl-da9484fbf5716a8c56f0aa4517318cbee778e4fb.tar.gz tcl-da9484fbf5716a8c56f0aa4517318cbee778e4fb.tar.bz2 |
* Corrected some list-quoting issues and
other matters that cause tests to fail when the patch includes
special characters. Report from Vince Darley. [Bug 554068].
Diffstat (limited to 'tests/safe.test')
-rw-r--r-- | tests/safe.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/safe.test b/tests/safe.test index 202afdf..21fad12 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.12 2002/02/22 21:51:34 hobbs Exp $ +# RCS: @(#) $Id: safe.test,v 1.13 2002/05/10 18:47:11 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -285,7 +285,7 @@ test safe-8.5 {safe source control on file} { $log \ [safe::setLogCmd $prevlog; unset log] \ [safe::interpDelete $i] ; -} "1 {no such file or directory} {{ERROR for slave a : [file join [info library] blah]:no such file or directory}} {} {}" +} [list 1 {no such file or directory} [list "ERROR for slave a : [file join [info library] blah]:no such file or directory"] {} {}] test safe-8.6 {safe source control on file} { @@ -301,7 +301,7 @@ test safe-8.6 {safe source control on file} { $log \ [safe::setLogCmd $prevlog; unset log] \ [safe::interpDelete $i] ; -} "1 {no such file or directory} {{ERROR for slave a : [file join [info library] blah.tcl]:no such file or directory}} {} {}" +} [list 1 {no such file or directory} [list "ERROR for slave a : [file join [info library] blah.tcl]:no such file or directory"] {} {}] test safe-8.7 {safe source control on file} { @@ -320,7 +320,7 @@ test safe-8.7 {safe source control on file} { $log \ [safe::setLogCmd $prevlog; unset log] \ [safe::interpDelete $i] ; -} "1 {no such file or directory} {{ERROR for slave a : [file join [info library] xxxxxxxxxxx.tcl]:no such file or directory}} {} {}" +} [list 1 {no such file or directory} [list "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"; |