about summary refs log tree commit diff
path: root/src/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'src/testsuite')
-rw-r--r--src/testsuite/message-test.e23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/testsuite/message-test.e b/src/testsuite/message-test.e
index 00033464..dd164822 100644
--- a/src/testsuite/message-test.e
+++ b/src/testsuite/message-test.e
@@ -1,5 +1,3 @@
-# $Id: mode-test.e,v 1.7 2008/02/16 11:27:49 fw Exp $
-
 spawn telnet localhost 6789
 expect {
 	timeout { exit 1 }
@@ -43,14 +41,31 @@ expect {
 	"@* PRIVMSG nick :test\r*401*@* PRIVMSG nick :test"
 }
 
-send "JOIN #testChannel\r"
-
 send "privmsg doesnotexist :test\r"
 expect {
 	timeout { exit 1 }
 	"401"
 }
 
+send "privmsg ~user@ngircd.test.server :test\r"
+expect {
+	timeout { exit 1 }
+	"@* PRIVMSG nick :test"
+}
+
+
+send "privmsg ~user\%localhost :test\r"
+expect {
+	timeout { exit 1 }
+	"@* PRIVMSG nick :test"
+}
+
+send "privmsg nick!~user@localhost :test\r"
+expect {
+	timeout { exit 1 }
+	"@* PRIVMSG nick :test"
+}
+
 send "away :away\r"
 expect {
 	timeout { exit 1 }