stress-B.e 900 B

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