Add new test scripts and generally improve code coverage of tests.
[ircu2.10.12-pk.git] / ircd / test / client-1.cmd
index 9a588c125b5770487abbb85fe8a29d6aea01e746..1db7fd13c89b74dbdebdaac986d2a9eb443dfda1 100644 (file)
@@ -1,9 +1,12 @@
-define srv localhost:7701
+define srv localhost
 
-connect cl1 Alex alex %srv% :Test client 1
+connect cl1 Alex alex %srv%:7701 :Test client 1
 :cl1 oper oper1 oper1
-connect cl2 Bubb bubb %srv% :Test client 2
+:cl1 oper oper1 oper1
+connect cl2 Bubb bubb %srv%:7711 :Test client 2
+:cl1 raw :time
 :cl2 oper oper3 oper4
+:cl1 raw :version
 :cl2 oper oldoper wrongpass
 :cl2 oper md5oper wrongpass
 :cl2 oper cryptoper wrongpass
@@ -13,3 +16,10 @@ connect cl2 Bubb bubb %srv% :Test client 2
 :cl1 raw :privs Bubb
 :cl1 nick A
 :cl1 nick Alexey
+:cl1 raw :privmsg :
+:cl1 raw :privmsg Alexey :
+:cl1 raw :privmsg Bubb :hello Bubb
+:cl1 raw :privmsg $*.net :Hello all *.net servers.
+:cl1 raw :notice $*.net :Hello all *.net servers.
+:cl1 raw :kill Bubb :goodbye Bubb
+:cl1 raw :whowas Alex,Bubb 5