2020-06-18 02:45:02 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
cmdline
|
|
|
|
wrong option
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
# make this test require manual as the error message is different without it
|
|
|
|
<features>
|
|
|
|
manual
|
|
|
|
</features>
|
|
|
|
<name>
|
|
|
|
error when using unknown command line option
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
--never-implemented http://never.use.this.example.com/%TESTNUMBER
|
2020-06-18 02:45:02 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
2
|
|
|
|
</errorcode>
|
|
|
|
<stderr mode="text">
|
|
|
|
curl: option --never-implemented: is unknown
|
|
|
|
curl: try 'curl --help' or 'curl --manual' for more information
|
|
|
|
</stderr>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|