xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP GET |
| 6 | globbing |
| 7 | FAILURE |
| 8 | </keywords> |
| 9 | </info> |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | </reply> |
| 14 | |
| 15 | # |
| 16 | # Client-side |
| 17 | <client> |
| 18 | <server> |
| 19 | none |
| 20 | </server> |
| 21 | <features> |
| 22 | http |
| 23 | </features> |
| 24 | <name> |
| 25 | HTTP, urlglob retrieval with bad range |
| 26 | </name> |
| 27 | <command option="no-output"> |
| 28 | "http://a-site-never-accessed.example.org/[2-1]" -o "log/weee#1.dump" --stderr - |
| 29 | </command> |
| 30 | </client> |
| 31 | |
| 32 | # |
| 33 | # Verify data after the test has been "shot" |
| 34 | <verify> |
| 35 | <errorcode> |
| 36 | 3 |
| 37 | </errorcode> |
| 38 | <stdout mode="text"> |
| 39 | curl: (3) bad range in URL position 47: |
| 40 | http://a-site-never-accessed.example.org/[2-1] |
| 41 | ^ |
| 42 | </stdout> |
| 43 | </verify> |
| 44 | </testcase> |