xref: /curl/tests/data/test422 (revision ba1fba9c)
1<testcase>
2<info>
3<keywords>
4cmdline
5--next
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12</reply>
13
14#
15# Client-side
16<client>
17<server>
18none
19</server>
20<name>
21use --next with missing URL before it
22</name>
23<command>
24-O -I --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER
25</command>
26</client>
27
28#
29# Verify data after the test has been "shot"
30<verify>
31<stderr mode="text">
32curl: missing URL before --next
33curl: option --next: is badly used here
34%if manual
35curl: try 'curl --help' or 'curl --manual' for more information
36%else
37curl: try 'curl --help' for more information
38%endif
39</stderr>
40<errorcode>
412
42</errorcode>
43</verify>
44</testcase>
45