| 1 |
# test the "in" keyword with maps |
| 2 |
|
| 3 |
set test "exists" |
| 4 |
set ::result_string {0 is there |
| 5 |
1 is there |
| 6 |
comlete list for a: 0 1 2 3 4 5 6 7 8 9 10 |
| 7 |
0 is still there |
| 8 |
comlete list for b: [0,0] [1,10] [2,20] [3,30] [4,40] [5,50] [6,60] [7,70] [8,80] [9,90] [10,100] |
| 9 |
[0,0] is still there |
| 10 |
emtpy string there |
| 11 |
hello there |
| 12 |
emtpy string still there} |
| 13 |
|
| 14 |
foreach runtime [get_runtime_list] { |
| 15 |
if {$runtime != ""} { |
| 16 |
stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime |
| 17 |
} else { |
| 18 |
stap_run2 $srcdir/$subdir/$test.stp |
| 19 |
} |
| 20 |
} |