test711 (695B)
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 # 23 # Client-side 24 <client> 25 <features> 26 proxy 27 </features> 28 <server> 29 ftp 30 socks5 31 </server> 32 <setenv> 33 all_proxy=socks5://%HOSTIP:%SOCKSPORT 34 </setenv> 35 <name> 36 FTP fetch with all_proxy set to socks5 37 </name> 38 <command> 39 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 40 </command> 41 </client> 42 43 # 44 # Verify data after the test has been "shot" 45 <verify> 46 <strip> 47 QUIT 48 </strip> 49 <protocol> 50 USER anonymous 51 PASS ftp@example.com 52 PWD 53 EPSV 54 TYPE I 55 SIZE %TESTNUMBER 56 RETR %TESTNUMBER 57 QUIT 58 </protocol> 59 </verify> 60 </testcase>