test711 673 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. #based off test 707 after bug report #1218
  3. <info>
  4. <keywords>
  5. FTP
  6. PASV
  7. RETR
  8. SOCKS5
  9. all_proxy
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <data>
  16. silly content
  17. </data>
  18. <servercmd>
  19. </servercmd>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <features>
  25. proxy
  26. </features>
  27. <server>
  28. ftp
  29. socks5
  30. </server>
  31. <setenv>
  32. all_proxy=socks5://%HOSTIP:%SOCKSPORT
  33. </setenv>
  34. <name>
  35. FTP fetch with all_proxy set to socks5
  36. </name>
  37. <command>
  38. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. USER anonymous
  46. PASS ftp@example.com
  47. PWD
  48. EPSV
  49. TYPE I
  50. SIZE %TESTNUMBER
  51. RETR %TESTNUMBER
  52. QUIT
  53. </protocol>
  54. </verify>
  55. </testcase>