1 c4d78a34 2002-09-09 alex # $Id: connect-test.e,v 1.1 2002/09/09 10:16:24 alex Exp $
3 c4d78a34 2002-09-09 alex spawn telnet localhost 6789
5 c4d78a34 2002-09-09 alex timeout { exit 1 }
9 c4d78a34 2002-09-09 alex send "oper\r"
11 c4d78a34 2002-09-09 alex timeout { exit 1 }
15 c4d78a34 2002-09-09 alex send "quit\r"
17 c4d78a34 2002-09-09 alex timeout { exit 1 }
18 c4d78a34 2002-09-09 alex "Connection closed"