X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftestsuite%2Fstress-B.e;h=95156cbb552041a88222bb27a9ca3f4d7481c646;hb=456eea6f1896528dad344ed2c254fd07bdc3a4b1;hp=117e1524d3ab4f0f4fb9fcb2cba053d2f5082493;hpb=fc6f64742cf58203c5e14481498e592d21899f02;p=ngircd-alex.git diff --git a/src/testsuite/stress-B.e b/src/testsuite/stress-B.e index 117e1524..95156cbb 100644 --- a/src/testsuite/stress-B.e +++ b/src/testsuite/stress-B.e @@ -1,11 +1,14 @@ -# $Id: stress-B.e,v 1.1 2002/09/09 22:56:07 alex Exp $ +# ngIRCd test suite +# "Stress" body send "user user . . :User\r" expect { timeout { exit 1 } - "376" + " 376" } +sleep 2 + send "oper TestOp 123\r" expect { timeout { exit 1 } @@ -13,57 +16,61 @@ 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 } "Connection closed" } - -# -eof-