]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/message-test.e
Update error messages for user mode +b and channel Mode +M.
[ngircd-alex.git] / src / testsuite / message-test.e
index d0ffcef99266556515c0c5f91fabab67a917f1ff..6e63bb5225dd52976f317756438b438eb5019d5b 100644 (file)
@@ -53,6 +53,22 @@ expect {
        "@* PRIVMSG nick :test"
 }
 
+send "mode nick +b\r"
+expect {
+       timeout { exit 1 }
+       "MODE nick :+b"
+}
+send "privmsg nick :test\r"
+expect {
+       timeout { exit 1 }
+       "486"
+}
+send "mode nick -b\r"
+expect {
+       timeout { exit 1 }
+       "MODE nick :-b"
+}
+
 # The following two tests using "localhost" as host name
 # had to be disabled, because there are operating systems
 # out there, that use "localhost.<domain>" as host name