summaryrefslogtreecommitdiff
path: root/tests/data/test1179
blob: 95699e8a40105fc160b8bb60532011e88c229f38 (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
<testcase>
<info>
<keywords>
cmdline
wrong option
</keywords>
</info>

#
# Server-side
<reply>
</reply>

#
# Client-side
<client>
<server>
none
</server>
 <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>