misc-test.e 480 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $Id: misc-test.e,v 1.2 2008/02/17 13:51:00 alex Exp $
  2. spawn telnet localhost 6789
  3. expect {
  4. timeout { exit 1 }
  5. "Connected"
  6. }
  7. send "nick nick\r"
  8. send "user user . . :User\r"
  9. expect {
  10. timeout { exit 1 }
  11. "376"
  12. }
  13. send "summon\r"
  14. expect {
  15. timeout { exit 1 }
  16. "445"
  17. }
  18. send "users\r"
  19. expect {
  20. timeout { exit 1 }
  21. "446"
  22. }
  23. send "info\r"
  24. expect {
  25. timeout { exit 1 }
  26. "371"
  27. }
  28. expect {
  29. timeout { exit 1 }
  30. "374"
  31. }
  32. send "quit\r"
  33. expect {
  34. timeout { exit 1 }
  35. "ERROR"
  36. }
  37. # -eof-