mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
44 lines
664 B
Plaintext
44 lines
664 B
Plaintext
<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>
|
|
--never-implemented http://never.use.this.example.com/%TESTNUMBER
|
|
</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>
|