]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/who-test.e
Don't send nick name as default PART reason
[ngircd-alex.git] / src / testsuite / who-test.e
index a41e6b6a68574f394ef68731948a1ec4764f3bd0..39e3a2f15521bafcc858f1dec8c66f2be1c68642 100644 (file)
@@ -1,7 +1,7 @@
 # ngIRCd test suite
 # WHO test
 
-spawn telnet localhost 6789
+spawn telnet 127.0.0.1 6789
 expect {
        timeout { exit 1 }
        "Connected"
@@ -62,7 +62,7 @@ expect {
        ":ngircd.test.server 352 nick #channel * * ngircd.test.server nick G@ :0 Real Name"
 }
 
-send "who localhos*\r"
+send "who 127.0.0.*\r"
 expect {
        timeout { exit 1 }
        ":ngircd.test.server 352 nick \* * * ngircd.test.server nick G :0 Real Name"
@@ -89,7 +89,7 @@ expect {
 send "part #channel\r"
 expect {
        timeout { exit 1 }
-       "@* PART #channel :nick"
+       "@* PART #channel :"
 }
 
 send "who Real?Name\r"
@@ -120,7 +120,7 @@ expect {
        "305 nick"
 }
 
-send "who ??cal*ho*\r"
+send "who ??7.*0*\r"
 expect {
        timeout { exit 1 }
        ":ngircd.test.server 352 nick \* * * ngircd.test.server nick H* :0 Real Name"