]> 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 dd7eb66d20e5f9c6a8f7583041af25a854fec362..f65c519652779a19603feea517cd9ac810ae8cef 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,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"