1
0

stress-B.e 879 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # $Id: stress-B.e,v 1.1 2002/09/09 22:56:07 alex Exp $
  2. send "user user . . :User\r"
  3. expect {
  4. timeout { exit 1 }
  5. "376"
  6. }
  7. send "oper TestOp 123\r"
  8. expect {
  9. timeout { exit 1 }
  10. "MODE test* :+o"
  11. }
  12. expect {
  13. timeout { exit 1 }
  14. "381 test*"
  15. }
  16. send "join #channel\r"
  17. expect {
  18. timeout { exit 1 }
  19. ":test*!~user@* JOIN :#channel"
  20. }
  21. expect {
  22. timeout { exit 1 }
  23. "366"
  24. }
  25. send "mode #channel\r"
  26. expect {
  27. timeout { exit 1 }
  28. "324 test* #channel"
  29. }
  30. send "join #channel2\r"
  31. expect {
  32. timeout { exit 1 }
  33. ":test*!~user@* JOIN :#channel2"
  34. }
  35. expect {
  36. timeout { exit 1 }
  37. "366"
  38. }
  39. send "names\r"
  40. expect {
  41. timeout { exit 1 }
  42. "366"
  43. }
  44. send "part #channel2\r"
  45. expect {
  46. timeout { exit 1 }
  47. ":test*!~user@* PART #channel2"
  48. }
  49. send "part #channel\r"
  50. expect {
  51. timeout { exit 1 }
  52. ":test*!~user@* PART #channel"
  53. }
  54. send "quit\r"
  55. expect {
  56. timeout { exit 1 }
  57. "Connection closed"
  58. }
  59. # -eof-