Annotation of ircnowd/src/testsuite/stress-B.e, Revision 1.1.1.1
1.1 tomglok 1: # ngIRCd test suite
2: # "Stress" body
3:
4: send "user user . . :User\r"
5: expect {
6: timeout { exit 1 }
7: " 376"
8: }
9:
10: sleep 2
11:
12: send "oper TestOp 123\r"
13: expect {
14: timeout { exit 1 }
15: "MODE test* :+o"
16: }
17: expect {
18: timeout { exit 1 }
19: " 381 test"
20: }
21:
22: sleep 2
23:
24: send "join #channel\r"
25: expect {
26: timeout { exit 1 }
27: " 353 * = #channel "
28: }
29: expect {
30: timeout { exit 1 }
31: " 366 * #channel :"
32: }
33:
34: send "mode #channel\r"
35: expect {
36: timeout { exit 1 }
37: " 324 test* #channel"
38: }
39:
40: send "join #channel2\r"
41: expect {
42: timeout { exit 1 }
43: " 353 * = #channel2 "
44: }
45: expect {
46: timeout { exit 1 }
47: " 366 * #channel2 :"
48: }
49:
50: send "names\r"
51: expect {
52: timeout { exit 1 }
53: " 366 "
54: }
55:
56: sleep 3
57:
58: send "part #channel2\r"
59: expect {
60: timeout { exit 1 }
61: " PART #channel2 "
62: }
63:
64: send "part #channel\r"
65: expect {
66: timeout { exit 1 }
67: " PART #channel "
68: }
69:
70: sleep 1
71:
72: send "quit\r"
73: expect {
74: timeout { exit 1 }
75: "Connection closed"
76: }
CVSweb