summaryrefslogtreecommitdiff
path: root/tests/data/test1179
blob: 206ee7cae5c358268f5f423bc46c201d7436f6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<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/1179
</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>