added basic ssl support to ircu
[ircu2.10.12-pk.git] / tests / bug-2328334.cmd
1 define srv1 localhost:7601
2 define srv1-name irc.example.net
3 define cl1-nick Op3rm4n
4 define channel1 #1234567890123456789012345678901234567890123456789
5 define channel2 #12345678901234567890123456789012345678901234567890
6
7
8 # Connect a client and try to join the two channels.
9 # The second channel's name is one character too long, and should be truncated.
10 connect cl1 %cl1-nick% oper %srv1% :Some Channel Operator
11 :cl1 join %channel1%
12 :cl1 join %channel2%
13 :cl1 expect %srv1-name% 403 %channel2% :No such channel
14 # Force cl1 to do something else so the expect is checked.
15 :cl1 part %channel1%