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"
61 send "privmsg nick :test\r"
72 # The following two tests using "localhost" as host name
73 # had to be disabled, because there are operating systems
74 # out there, that use "localhost.<domain>" as host name
75 # for 127.0.0.1 instead of just "localhost".
76 # (for example OpenBSD 4, OpenSolaris, ...)
78 #send "privmsg ~user\%localhost :test\r"
81 # "@* PRIVMSG nick :test"
84 #send "privmsg Nick!~User@LocalHost :test\r"
87 # "@* PRIVMSG nick :test"
97 send "privmsg nick :test\r"
109 send "privmsg \$ngircd.test.server :test\r"
115 send "privmsg #*.de :test\r"
121 send "oper TestOp 123\r"
123 send "privmsg \$ngircd.test.server :test\r"
126 "@* PRIVMSG nick :test"
129 send "privmsg \$*.test*.server :test\r"
132 "@* PRIVMSG nick :test"
135 send "privmsg \$noDotServer :test\r"
141 #cannot test host mask since localhost has no '.' as RFC requires