]> arthur.barton.de Git - ngircd-alex.git/blob - src/testsuite/opless-channel-test.e
35d109e9be4d903e0a886c7d81ca434e4c67ea2d
[ngircd-alex.git] / src / testsuite / opless-channel-test.e
1 spawn telnet localhost 6789
2 expect {
3        timeout { exit 1 }
4        "Connected"
5 }
6
7 send "nick nick\r"
8 send "user user . . :User\r"
9 expect {
10        timeout { exit 1 }
11        "376"
12 }
13
14 send "JOIN +Channel\r"
15 expect {
16        timeout { exit 1 }
17        "@* JOIN :+Channel"
18 }
19
20 send "mode +Channel +t\r"
21 expect {
22        timeout { exit 1 }
23        "477"
24 }
25
26 send "quit\r"
27 expect {
28        timeout { exit 1 }
29        "Connection closed"
30 }
31
32 # -eof-