]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/channel-test.e
Added optional support for IDENT lookups (configure switch "--with-ident").
[ngircd-alex.git] / src / testsuite / channel-test.e
index 19bed8692d9b2af9292ec6cd1037042aae52358d..240abf64bd657b4c2faddaa9f02866727054e08e 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: channel-test.e,v 1.2 2002/09/09 21:26:00 alex Exp $
+# $Id: channel-test.e,v 1.3 2003/12/27 13:01:12 alex Exp $
 
 spawn telnet localhost 6789
 expect {
@@ -16,7 +16,7 @@ expect {
 send "join #channel\r"
 expect {
        timeout { exit 1 }
-       ":nick!~user@* JOIN :#channel"
+       "@* JOIN :#channel"
 }
 expect {
        timeout { exit 1 }
@@ -26,13 +26,17 @@ expect {
 send "topic #channel :Test-Topic\r"
 expect {
        timeout { exit 1 }
-       ":nick!~user@* TOPIC #channel :Test-Topic"
+       "@* TOPIC #channel :Test-Topic"
 }
 
 send "who #channel\r"
 expect {
        timeout { exit 1 }
-       "352 nick #channel ~user * nick H@ :0 User"
+       "352 nick #channel"
+}
+expect {
+       timeout { exit 1 }
+       "* nick H@ :0 User"
 }
 expect {
        timeout { exit 1 }
@@ -62,7 +66,7 @@ expect {
 send "part #channel\r"
 expect {
        timeout { exit 1 }
-       ":nick!~user@* PART #channel :nick"
+       "@* PART #channel :nick"
 }
 
 send "quit\r"