test564 885 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <testcase>
  2. # Warning: if this test fails to start the SSH server, check that none of
  3. # the user's shell profiles sends output to stdout of a non-interactive shell.
  4. <info>
  5. <keywords>
  6. FTP
  7. PASV
  8. RETR
  9. multi
  10. SOCKS4
  11. </keywords>
  12. </info>
  13. # Server-side
  14. <reply>
  15. <data>
  16. data
  17. to
  18. see
  19. that FTP
  20. works
  21. so does it?
  22. </data>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <server>
  27. ftp
  28. socks4
  29. </server>
  30. <tool>
  31. lib%TESTNUMBER
  32. </tool>
  33. <name>
  34. FTP RETR a file over a SOCKS proxy using the multi interface
  35. </name>
  36. <command>
  37. ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %HOSTIP:%SOCKSPORT
  38. </command>
  39. <features>
  40. proxy
  41. </features>
  42. </client>
  43. # Verify data after the test has been "shot"
  44. <verify>
  45. <protocol>
  46. USER anonymous
  47. PASS ftp@example.com
  48. PWD
  49. CWD path
  50. EPSV
  51. TYPE I
  52. SIZE %TESTNUMBER
  53. RETR %TESTNUMBER
  54. QUIT
  55. </protocol>
  56. <stdout>
  57. data
  58. to
  59. see
  60. that FTP
  61. works
  62. so does it?
  63. </stdout>
  64. </verify>
  65. </testcase>