3 # Copyright (C) 2004-2006, The Perl Foundation.
6 # the following lines re-execute this as a tcl script
7 # the \ at the end of these lines makes them a comment in tcl \
8 use lib qw(languages/tcl/lib tcl/lib lib ../lib ../../lib); # \
12 source lib/test_more.tcl
16 {wrong # args: should be "while test command"} \
20 {wrong # args: should be "while test command"} \
23 eval_is {while we wait outside} \
24 {wrong # args: should be "while test command"} \
27 eval_is {while {"foo"} {}} \
28 {expected boolean value but got "foo"} \
39 } {321} {simple while}
44 while {$i < 6} "append a *; incr i"
46 } {*****} {while with semicolons, command in quotes}