3 # Copyright (C) 2005-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 "eof channelId"} \
20 {wrong # args: should be "eof channelId"} \
23 eval_is {eof espn-ocho} \
24 {can not find channel named "espn-ocho"} \
27 is [eof stdin] 0 {eof an open channel}
29 # TODO (#40776): create test files and read from them, testing the eof condition.