-spawn telnet localhost 6789
+# ngIRCd test suite
+# INVITE test
+
+spawn telnet 127.0.0.1 6789
expect {
timeout { exit 1 }
"Connected"
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-