1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 wildcardmatch 6 ftplistparser 7 </keywords> 8 </info> 9 10 # Server-side 11 <reply> 12 <data> 13 </data> 14 </reply> 15 16 # Client-side 17 <client> 18 <server> 19 ftp 20 </server> 21 <tool> 22 lib576 23 </tool> 24 <name> 25 FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix) 26 </name> 27 <command> 28 ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/* 29 </command> 30 </client> 31 32 # Verify data after the test has been "shot" 33 <verify> 34 <errorcode> 35 0 36 </errorcode> 37 <stdout> 38 ============================================================= 39 Remains: 14 40 Filename: . 41 Permissions: rwxrwxrwx (parsed => 777) 42 Size: 20480B 43 User: ftp-default 44 Group: ftp-default 45 Time: Apr 27 5:12 46 Filetype: directory 47 ============================================================= 48 Remains: 13 49 Filename: .. 50 Permissions: rwxrwxrwx (parsed => 777) 51 Size: 20480B 52 User: ftp-default 53 Group: ftp-default 54 Time: Apr 23 3:12 55 Filetype: directory 56 ============================================================= 57 Remains: 12 58 Filename: chmod1 59 Permissions: r--r--r-- (parsed => 444) 60 Size: 38B 61 User: ftp-default 62 Group: ftp-default 63 Time: Jan 11 10:00 64 Filetype: regular file 65 Content: 66 ------------------------------------------------------------- 67 This file should have permissions 444 68 ------------------------------------------------------------- 69 ============================================================= 70 Remains: 11 71 Filename: chmod2 72 Permissions: rw-rw-rw- (parsed => 666) 73 Size: 38B 74 User: ftp-default 75 Group: ftp-default 76 Time: Feb 1 8:00 77 Filetype: regular file 78 Content: 79 ------------------------------------------------------------- 80 This file should have permissions 666 81 ------------------------------------------------------------- 82 ============================================================= 83 Remains: 10 84 Filename: chmod3 85 Permissions: rwxrwxrwx (parsed => 777) 86 Size: 38B 87 User: ftp-default 88 Group: ftp-default 89 Time: Feb 1 8:00 90 Filetype: regular file 91 Content: 92 ------------------------------------------------------------- 93 This file should have permissions 777 94 ------------------------------------------------------------- 95 ============================================================= 96 Remains: 9 97 Filename: chmod4 98 Permissions: --S--S--t (parsed => 7001) 99 Size: 4096B 100 User: ftp-default 101 Group: ftp-default 102 Time: May 4 4:31 103 Filetype: directory 104 ============================================================= 105 Remains: 8 106 Filename: chmod5 107 Permissions: --s--s--T (parsed => 7110) 108 Size: 4096B 109 User: ftp-default 110 Group: ftp-default 111 Time: May 4 4:31 112 Filetype: directory 113 ============================================================= 114 Remains: 7 115 Filename: empty_file.dat 116 Permissions: rw-r--r-- (parsed => 644) 117 Size: 0B 118 User: ftp-default 119 Group: ftp-default 120 Time: Apr 27 11:01 121 Filetype: regular file 122 Content: 123 ------------------------------------------------------------- 124 ------------------------------------------------------------- 125 ============================================================= 126 Remains: 6 127 Filename: file.txt 128 Permissions: rw-r--r-- (parsed => 644) 129 Size: 35B 130 User: ftp-default 131 Group: ftp-default 132 Time: Apr 27 11:01 133 Filetype: regular file 134 Content: 135 ------------------------------------------------------------- 136 This is content of file "file.txt" 137 ------------------------------------------------------------- 138 ============================================================= 139 Remains: 5 140 Filename: link 141 Permissions: rwxrwxrwx (parsed => 777) 142 Size: 0B 143 User: ftp-default 144 Group: ftp-default 145 Time: Jan 6 4:42 146 Filetype: symlink 147 Target: file.txt 148 ============================================================= 149 Remains: 4 150 Filename: link_absolute 151 Permissions: rwxrwxrwx (parsed => 777) 152 Size: 0B 153 User: ftp-default 154 Group: ftp-default 155 Time: Jan 6 4:45 156 Filetype: symlink 157 Target: /data/ftp/file.txt 158 ============================================================= 159 Remains: 3 160 Filename: .NeXT 161 Permissions: rwxrwxrwx (parsed => 777) 162 Size: 4096B 163 User: ftp-default 164 Group: ftp-default 165 Time: Jan 23 2:05 166 Filetype: directory 167 ============================================================= 168 Remains: 2 169 Filename: someothertext.txt 170 Permissions: rw-r--r-- (parsed => 644) 171 Size: 47B 172 User: ftp-default 173 Group: ftp-default 174 Time: Apr 27 11:01 175 Filetype: regular file 176 Content: 177 ------------------------------------------------------------- 178 # THIS CONTENT WAS SKIPPED IN CHUNK_BGN CALLBACK # 179 ------------------------------------------------------------- 180 ============================================================= 181 Remains: 1 182 Filename: weirddir.txt 183 Permissions: rwxr-xrwx (parsed => 757) 184 Size: 4096B 185 User: ftp-default 186 Group: ftp-default 187 Time: Apr 23 3:12 188 Filetype: directory 189 ============================================================= 190 </stdout> 191 </verify> 192 </testcase> 193