1 spawn telnet localhost 6789
8 send "user user . . :User\r"
14 send "privmsg nick :test\r"
17 "@* PRIVMSG nick :test"
32 send "privmsg nick,nick :test\r"
35 "@* PRIVMSG nick :test\r*@* PRIVMSG nick :test"
38 send "privmsg nick,#testChannel,nick :test\r"
41 "@* PRIVMSG nick :test\r*401*@* PRIVMSG nick :test"
44 send "privmsg doesnotexist :test\r"
50 send "privmsg ~user@ngircd.test.server :test\r"
53 "@* PRIVMSG nick :test"
56 # The following two tests using "localhost" as host name
57 # had to be disabled, because there are operating systems
58 # out there, that use "localhost.<domain>" as host name
59 # for 127.0.0.1 instead of just "localhost".
60 # (for example OpenBSD 4, OpenSolaris, ...)
62 #send "privmsg ~user\%localhost :test\r"
65 # "@* PRIVMSG nick :test"
68 #send "privmsg nick!~user@localhost :test\r"
71 # "@* PRIVMSG nick :test"
81 send "privmsg nick :test\r"
93 send "privmsg \$ngircd.test.server :test\r"
99 send "privmsg #*.de :test\r"
105 send "oper TestOp 123\r"
107 send "privmsg \$ngircd.test.server :test\r"
110 "@* PRIVMSG nick :test"
113 send "privmsg \$*.test*.server :test\r"
116 "@* PRIVMSG nick :test"
119 send "privmsg \$noDotServer :test\r"
125 #cannot test host mask since localhost has no '.' as RFC requires