Lines Matching refs:loop
2 # loop.test
4 # Tests for the loop command.
15 # $Id: loop.test,v 1.2 2002/04/02 02:29:43 hobbs Exp $
23 Test loop-1.1 {loop tests} {
26 loop i 1 6 {
32 Test loop-1.2 {loop tests} {
34 loop i 1 6 {
42 Test loop-1.3 {loop tests} {
44 loop i 1 6 {
51 Test loop-1.4 {loop tests} {
52 loop 1 2 3
53 } 1 {wrong # args: loop var first limit ?incr? command}
55 Test loop-1.5 {loop tests} {
56 loop 1 2 3 4 5 6
57 } 1 {wrong # args: loop var first limit ?incr? command}
59 Test loop-1.6 {loop tests} {
61 loop i 1 6 {
68 Test loop-1.7 {loop tests} {
70 loop i 1 6 2 {
76 Test loop-1.8 {loop tests} {
79 loop i 6 1 -1 {
85 Test loop-1.9 {loop tests} {
87 loop i 6 1 -1 {
95 Test loop-1.10 {loop tests} {
97 loop i 6 1 -1 {
105 Test loop-1.11 {loop tests} {
107 loop i 65536 65556 {
113 Test loop-1.12 {loop tests} {
115 loop i 65556 65536 -1 {
121 Test loop-1.13 {loop tests} {
123 loop i 0 655360 65536 {
129 Test loop-1.14 {loop tests} {
131 loop i 655360 0 -65536 {
137 Test loop-1.15 {loop tests} {
140 loop i 3*2 0+1 10-11 {
146 Test loop-2.1 {loop test} {
147 loop i 0 5 {error "an error"}