-spawn telnet localhost 6789
+# ngIRCd test suite
+# INVITE test
+
+spawn telnet 127.0.0.1 6789
expect {
timeout { exit 1 }
"Connected"
expect {
timeout { exit 1 }
"482 nick #channel :You are not channel operator"
- # it would be reasonable to expect 443 here instead
+ #it would be reasonable to expect 443 here instead
}
send "part #channel\r"
expect {
timeout { exit 1}
- -re "PART #channel :?nick"
+ "@* PART #channel :"
}
send "invite nick :parameter with spaces\r"
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-