lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 (DOS) |
| 26 | </name> |
| 27 | <command> |
| 28 | ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/* |
| 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: 12 |
| 40 | Filename: . |
| 41 | Size: 0B |
| 42 | Time: 04-27-10 05:12AM |
| 43 | Filetype: directory |
| 44 | ============================================================= |
| 45 | Remains: 11 |
| 46 | Filename: .. |
| 47 | Size: 0B |
| 48 | Time: 04-23-10 03:12AM |
| 49 | Filetype: directory |
| 50 | ============================================================= |
| 51 | Remains: 10 |
| 52 | Filename: chmod1 |
| 53 | Size: 38B |
| 54 | Time: 01-11-10 10:00AM |
| 55 | Filetype: regular file |
| 56 | Content: |
| 57 | ------------------------------------------------------------- |
| 58 | This file should have permissions 444 |
| 59 | ------------------------------------------------------------- |
| 60 | ============================================================= |
| 61 | Remains: 9 |
| 62 | Filename: chmod2 |
| 63 | Size: 38B |
| 64 | Time: 02-01-10 08:00AM |
| 65 | Filetype: regular file |
| 66 | Content: |
| 67 | ------------------------------------------------------------- |
| 68 | This file should have permissions 666 |
| 69 | ------------------------------------------------------------- |
| 70 | ============================================================= |
| 71 | Remains: 8 |
| 72 | Filename: chmod3 |
| 73 | Size: 38B |
| 74 | Time: 02-01-10 08:00AM |
| 75 | Filetype: regular file |
| 76 | Content: |
| 77 | ------------------------------------------------------------- |
| 78 | This file should have permissions 777 |
| 79 | ------------------------------------------------------------- |
| 80 | ============================================================= |
| 81 | Remains: 7 |
| 82 | Filename: chmod4 |
| 83 | Size: 0B |
| 84 | Time: 05-04-10 04:31AM |
| 85 | Filetype: directory |
| 86 | ============================================================= |
| 87 | Remains: 6 |
| 88 | Filename: chmod5 |
| 89 | Size: 0B |
| 90 | Time: 05-04-10 04:31AM |
| 91 | Filetype: directory |
| 92 | ============================================================= |
| 93 | Remains: 5 |
| 94 | Filename: empty_file.dat |
| 95 | Size: 0B |
| 96 | Time: 04-27-10 11:01AM |
| 97 | Filetype: regular file |
| 98 | Content: |
| 99 | ------------------------------------------------------------- |
| 100 | ------------------------------------------------------------- |
| 101 | ============================================================= |
| 102 | Remains: 4 |
| 103 | Filename: file.txt |
| 104 | Size: 35B |
| 105 | Time: 04-27-10 11:01AM |
| 106 | Filetype: regular file |
| 107 | Content: |
| 108 | ------------------------------------------------------------- |
| 109 | This is content of file "file.txt" |
| 110 | ------------------------------------------------------------- |
| 111 | ============================================================= |
| 112 | Remains: 3 |
| 113 | Filename: .NeXT |
| 114 | Size: 0B |
| 115 | Time: 01-23-05 02:05AM |
| 116 | Filetype: directory |
| 117 | ============================================================= |
| 118 | Remains: 2 |
| 119 | Filename: someothertext.txt |
| 120 | Size: 47B |
| 121 | Time: 04-27-10 11:01AM |
| 122 | Filetype: regular file |
| 123 | Content: |
| 124 | ------------------------------------------------------------- |
| 125 | # THIS CONTENT WAS SKIPPED IN CHUNK_BGN CALLBACK # |
| 126 | ------------------------------------------------------------- |
| 127 | ============================================================= |
| 128 | Remains: 1 |
| 129 | Filename: weirddir.txt |
| 130 | Size: 0B |
| 131 | Time: 04-23-10 03:12AM |
| 132 | Filetype: directory |
| 133 | ============================================================= |
| 134 | </stdout> |
| 135 | </verify> |
| 136 | </testcase> |