Import Tcl-code 8.6.8
This commit is contained in:
@@ -20,7 +20,7 @@ catch [list package require -exact Tcltest [info patchlevel]]
|
||||
|
||||
testConstraint testinterpdelete [llength [info commands testinterpdelete]]
|
||||
|
||||
set hidden_cmds {cd encoding exec exit fconfigure file glob load open pwd socket source tcl:file:atime tcl:file:attributes tcl:file:copy tcl:file:delete tcl:file:dirname tcl:file:executable tcl:file:exists tcl:file:extension tcl:file:isdirectory tcl:file:isfile tcl:file:link tcl:file:lstat tcl:file:mkdir tcl:file:mtime tcl:file:nativename tcl:file:normalize tcl:file:owned tcl:file:readable tcl:file:readlink tcl:file:rename tcl:file:rootname tcl:file:size tcl:file:stat tcl:file:tail tcl:file:tempfile tcl:file:type tcl:file:volumes tcl:file:writable unload}
|
||||
set hidden_cmds {cd encoding exec exit fconfigure file glob load open pwd socket source tcl:encoding:dirs tcl:file:atime tcl:file:attributes tcl:file:copy tcl:file:delete tcl:file:dirname tcl:file:executable tcl:file:exists tcl:file:extension tcl:file:isdirectory tcl:file:isfile tcl:file:link tcl:file:lstat tcl:file:mkdir tcl:file:mtime tcl:file:nativename tcl:file:normalize tcl:file:owned tcl:file:readable tcl:file:readlink tcl:file:rename tcl:file:rootname tcl:file:size tcl:file:stat tcl:file:tail tcl:file:tempfile tcl:file:type tcl:file:volumes tcl:file:writable unload}
|
||||
|
||||
foreach i [interp slaves] {
|
||||
interp delete $i
|
||||
@@ -606,6 +606,19 @@ test interp-14.10 {testing interp-alias: error messages} -setup {
|
||||
invoked from within
|
||||
"a 1"}
|
||||
|
||||
test interp-14.11 {{interp alias} {target named the empty string} {bug 2bf56185}} -setup {
|
||||
set interp [interp create [info cmdcount]]
|
||||
interp eval $interp {
|
||||
proc {} args {return $args}
|
||||
}
|
||||
|
||||
} -body {
|
||||
interp alias {} p1 $interp {}
|
||||
p1 one two three
|
||||
} -cleanup {
|
||||
interp delete $interp
|
||||
} -result {one two three}
|
||||
|
||||
# part 15: testing file sharing
|
||||
test interp-15.1 {testing file sharing} {
|
||||
catch {interp delete z}
|
||||
|
||||
Reference in New Issue
Block a user