summaryrefslogtreecommitdiff
path: root/tests/data/test378
blob: ca908b7aa04e2984ec9e979fc522a4a728a684f4 (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>
HTTP PUT
HTTP POST
</keywords>
</info>

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

#
# Client-side
<client>
<server>
none
</server>
 <name>
Reject using -T and -d at once
 </name>
 <command>
-T %LOGDIR/%TESTNUMBER -d input http://never-accessed
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
<stderr mode="text">
Warning: You can only select one HTTP request method! You asked for both PUT 
Warning: (-T, --upload-file) and POST (-d, --data).
</stderr>
</verify>
</testcase>