xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | warning |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | </reply> |
| 12 | |
| 13 | # |
| 14 | # Client-side |
| 15 | <client> |
| 16 | <server> |
| 17 | none |
| 18 | </server> |
| 19 | <features> |
| 20 | unix-sockets |
| 21 | </features> |
| 22 | <name> |
| 23 | file name argument looks like a flag |
| 24 | </name> |
| 25 | <command> |
| 26 | --stderr log/moo%TESTNUMBER --unix-socket -k hej://moo |
| 27 | </command> |
| 28 | </client> |
| 29 | |
| 30 | <verify> |
| 31 | <file name="log/moo%TESTNUMBER" mode="text"> |
| 32 | Warning: The file name argument '-k' looks like a flag. |
| 33 | curl: (1) Protocol "hej" not supported or disabled in libcurl |
| 34 | </file> |
| 35 | |
| 36 | # we expect an error since we provide a weird URL |
| 37 | <errorcode> |
| 38 | 1 |
| 39 | </errorcode> |
| 40 | </verify> |
| 41 | </testcase> |