]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/channel-test.e
Don't send nick name as default PART reason
[ngircd-alex.git] / src / testsuite / channel-test.e
index 16c67ad4a007eeeada1a6f08fedcc9571b2d069a..f65c519652779a19603feea517cd9ac810ae8cef 100644 (file)
@@ -1,6 +1,7 @@
-# $Id: channel-test.e,v 1.4 2008/02/05 13:31:51 fw Exp $
+# ngIRCd test suite
+# Channel test
 
-spawn telnet localhost 6789
+spawn telnet 127.0.0.1 6789
 expect {
        timeout { exit 1 }
        "Connected"
@@ -63,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"
@@ -92,11 +93,11 @@ 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"
@@ -104,5 +105,3 @@ expect {
        timeout { exit 1 }
        "Connection closed"
 }
-
-# -eof-