xref: /curl/tests/data/test1268 (revision 18f1cd7a)
1<testcase>
2<info>
3<keywords>
4warning
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11</reply>
12
13#
14# Client-side
15<client>
16<server>
17none
18</server>
19<features>
20UnixSockets
21</features>
22<name>
23filename argument looks like a flag
24</name>
25<command>
26--stderr %LOGDIR/moo%TESTNUMBER --unix-socket -k hej://moo
27</command>
28</client>
29
30<verify>
31<file name="%LOGDIR/moo%TESTNUMBER" mode="text">
32Warning: The filename argument '-k' looks like a flag.
33curl: (1) Protocol "hej" not supported
34</file>
35
36# we expect an error since we provide a weird URL
37<errorcode>
381
39</errorcode>
40</verify>
41</testcase>
42