Test suite: Don't use DNS lookups
[ngircd-alex.git] / src / testsuite / connect-test.e
1 # ngIRCd test suite
2 # Server connect test
3
4 spawn telnet 127.0.0.1 6789
5 expect {
6         timeout { exit 1 }
7         "Connected"
8 }
9
10 send "oper\r"
11 expect {
12         timeout { exit 1 }
13         "451"
14 }
15
16 send "quit\r"
17 expect {
18         timeout { exit 1 }
19         "Connection closed"
20 }