h1-mod/deps/curl/tests/data/test422
2024-03-07 00:54:32 -05:00

45 lines
624 B
Plaintext

<testcase>
<info>
<keywords>
cmdline
--next
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<name>
use --next with missing URL before it
</name>
<command>
-O -I --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stderr mode="text">
curl: missing URL before --next
curl: option --next: is badly used here
%if manual
curl: try 'curl --help' or 'curl --manual' for more information
%else
curl: try 'curl --help' for more information
%endif
</stderr>
<errorcode>
2
</errorcode>
</verify>
</testcase>