X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Ftestsuite%2Fstress-B.e;h=e260c6d36ea0b705a4083d8a5e3bfffdac90c31e;hp=117e1524d3ab4f0f4fb9fcb2cba053d2f5082493;hb=343a90dc376eb9979151752ec33c64ca45b04802;hpb=fc6f64742cf58203c5e14481498e592d21899f02 diff --git a/src/testsuite/stress-B.e b/src/testsuite/stress-B.e index 117e1524..e260c6d3 100644 --- a/src/testsuite/stress-B.e +++ b/src/testsuite/stress-B.e @@ -1,11 +1,13 @@ -# $Id: stress-B.e,v 1.1 2002/09/09 22:56:07 alex Exp $ +# $Id: stress-B.e,v 1.3 2005/12/30 22:12:28 alex Exp $ send "user user . . :User\r" expect { timeout { exit 1 } - "376" + " 376" } +sleep 2 + send "oper TestOp 123\r" expect { timeout { exit 1 } @@ -13,53 +15,59 @@ expect { } expect { timeout { exit 1 } - "381 test*" + " 381 test" } +sleep 2 + send "join #channel\r" expect { timeout { exit 1 } - ":test*!~user@* JOIN :#channel" + " 353 * = #channel " } expect { timeout { exit 1 } - "366" + " 366 * #channel :" } send "mode #channel\r" expect { timeout { exit 1 } - "324 test* #channel" + " 324 test* #channel" } send "join #channel2\r" expect { timeout { exit 1 } - ":test*!~user@* JOIN :#channel2" + " 353 * = #channel2 " } expect { timeout { exit 1 } - "366" + " 366 * #channel2 :" } send "names\r" expect { timeout { exit 1 } - "366" + " 366 " } +sleep 3 + send "part #channel2\r" expect { timeout { exit 1 } - ":test*!~user@* PART #channel2" + " PART #channel2 " } send "part #channel\r" expect { timeout { exit 1 } - ":test*!~user@* PART #channel" + " PART #channel " } +sleep 1 + send "quit\r" expect { timeout { exit 1 }