test1113 (1481B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 RETR 6 LIST 7 wildcardmatch 8 ftplistparser 9 flaky 10 </keywords> 11 </info> 12 13 # 14 # Server-side 15 <reply> 16 <data> 17 </data> 18 </reply> 19 20 # Client-side 21 <client> 22 <server> 23 ftp 24 </server> 25 <tool> 26 lib574 27 </tool> 28 <name> 29 FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response) 30 </name> 31 <command> 32 "ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt" 33 </command> 34 </client> 35 36 ############################################ 37 # Verify data after the test has been "shot" 38 <verify> 39 <strip> 40 QUIT 41 </strip> 42 <errorcode> 43 0 44 </errorcode> 45 # THERE SHOULD NOT BE "SIZE"! and one "USER/PASS" 46 <protocol> 47 USER anonymous 48 PASS ftp@example.com 49 PWD 50 CWD fully_simulated 51 CWD DOS 52 EPSV 53 TYPE A 54 LIST 55 EPSV 56 TYPE I 57 RETR chmod1 58 EPSV 59 RETR chmod2 60 EPSV 61 RETR chmod3 62 EPSV 63 RETR empty_file.dat 64 EPSV 65 RETR file.txt 66 EPSV 67 RETR someothertext.txt 68 CWD / 69 CWD fully_simulated 70 CWD DOS 71 EPSV 72 TYPE A 73 LIST 74 EPSV 75 TYPE I 76 RETR chmod1 77 EPSV 78 RETR chmod2 79 EPSV 80 RETR chmod3 81 EPSV 82 RETR empty_file.dat 83 EPSV 84 RETR file.txt 85 EPSV 86 RETR someothertext.txt 87 QUIT 88 </protocol> 89 <stdout> 90 This file should have permissions 444 91 This file should have permissions 666 92 This file should have permissions 777 93 This is content of file "file.txt" 94 Some junk ;-) This file does not really exist. 95 This file should have permissions 444 96 This file should have permissions 666 97 This file should have permissions 777 98 This is content of file "file.txt" 99 Some junk ;-) This file does not really exist. 100 </stdout> 101 </verify> 102 </testcase>