]> arthur.barton.de Git - ngircd-alex.git/blob - src/testsuite/opless-channel-test.e
Don't abort startup when setgid/setuid() fails with EINVAL
[ngircd-alex.git] / src / testsuite / opless-channel-test.e
1 # ngIRCd test suite
2 # Op-less channel test
3
4 spawn telnet 127.0.0.1 6789
5 expect {
6        timeout { exit 1 }
7        "Connected"
8 }
9
10 send "nick nick\r"
11 send "user user . . :User\r"
12 expect {
13        timeout { exit 1 }
14        "376"
15 }
16
17 send "JOIN +Channel\r"
18 expect {
19        timeout { exit 1 }
20        "@* JOIN :+Channel"
21 }
22
23 send "mode +Channel +t\r"
24 expect {
25        timeout { exit 1 }
26        "477"
27 }
28
29 send "quit\r"
30 expect {
31        timeout { exit 1 }
32        "Connection closed"
33 }