2 # 27Jan2005 - SIGSEGV for bug on Jim_DuplicateObj().
4 for {set i
0} {$i < 100} {incr i
} {
11 # 29Jan2005 - SEGFAULT parsing script composed of just one comment.
16 # 29Jan2005 - "Error in Expression" with correct expression
22 # 29Jan2005 - SIGSEGV when run this code, due to expr's bug.
27 expr {[fibonacci
[expr {$x-1}]] + [fibonacci
[expr {$x-2}]]}
34 # 06Mar2005 - This looped forever...
35 for {set i
0} {$i < 10} {incr i
} {continue}
39 # 07Mar2005 - Unset create variable + dict is using dict syntax sugar at
40 # currently non-existing variable
41 catch {unset thisvardoesnotexists
(thiskeytoo
)}
42 if {[catch {set thisvardoesnotexists
}] == 0} {
43 puts "TEST 6 FAILED - unset created dict for non-existing variable"
49 # 04Nov2008 - variable parsing does not eat last brace
55 # 04Nov2008 - string toupper/tolower do not convert to string rep
56 string tolower
[list a
]
57 string toupper
[list a
]
61 # 04Nov2008 - crash on exit when replacing Tcl proc with C command. Requires the aio extension
63 catch {package require aio
}
64 # Note, crash on exit, so don't say we passed!
67 # 05Nov2008 - incorrect lazy expression evaluation with unary not
72 # 14 Feb 2010 - access static variable in deleted proc
73 proc a
{} {{x
1}} { rename a
""; incr x
}
77 # TAKE THE FOLLOWING puts AS LAST LINE
79 puts "--- ALL TESTS PASSED ---"