]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/channel-test.e
ngIRCd Release 27
[ngircd-alex.git] / src / testsuite / channel-test.e
index dd7eb66d20e5f9c6a8f7583041af25a854fec362..5e0afab3ac9621b446ac25210c9cf66822c18555 100644 (file)
@@ -1,7 +1,7 @@
 # ngIRCd test suite
 # Channel test
 
-spawn telnet localhost 6789
+spawn telnet 127.0.0.1 6789
 expect {
        timeout { exit 1 }
        "Connected"
@@ -64,10 +64,10 @@ expect {
        "323 nick :End of LIST"
 }
 
-send "part #channel\r"
+send "part #channel :bye bye\r"
 expect {
        timeout { exit 1 }
-       "@* PART #channel :nick"
+       "@* PART #channel :bye bye"
 }
 
 send "join #channel\r"
@@ -93,15 +93,15 @@ expect {
 send "join 0\r"
 expect {
        timeout { exit 1 }
-       "@* PART #channel2 :nick"
+       "@* PART #channel2 :"
 }
 expect {
        timeout { exit 1 }
-       "@* PART #channel :nick"
+       "@* PART #channel :"
 }
 
 send "quit\r"
 expect {
        timeout { exit 1 }
-       "Connection closed"
+       "ERROR :Closing connection"
 }