X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Ftestsuite%2Finvite-test.e;h=b9e0c3f96d213f688a16c6fd471eb73c62485cec;hp=17afbd28a354ee620420a03865ae0d5df2cf1b7d;hb=6171beb7ab5dc0586581660852576f437470df63;hpb=6c81ffaece660fb544c4d11f9a959c366eae6b84 diff --git a/src/testsuite/invite-test.e b/src/testsuite/invite-test.e index 17afbd28..b9e0c3f9 100644 --- a/src/testsuite/invite-test.e +++ b/src/testsuite/invite-test.e @@ -1,4 +1,7 @@ -spawn telnet localhost 6789 +# ngIRCd test suite +# INVITE test + +spawn telnet 127.0.0.1 6789 expect { timeout { exit 1 } "Connected" @@ -73,13 +76,13 @@ send "invite nick #channel\r" 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" @@ -109,5 +112,3 @@ expect { timeout { exit 1 } "Connection closed" } - -# -eof-