mirror of
https://github.com/curl/curl.git
synced 2026-04-12 00:11:42 +08:00
To make them explicit, visible, avoid being accidentally trimmed. Also prevents Git warnings, e.g. on `git am`. Also: - runtests: add support for `%spc%` and `%tab%` macros. - test59: delete non-significant line-ending space. - spacecheck.pl: drop line-ending whitespace exception for tests. Closes #19300
37 lines
530 B
Plaintext
37 lines
530 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP PUT
|
|
HTTP POST
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<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%spc%
|
|
Warning: (-T, --upload-file) and POST (-d, --data).
|
|
</stderr>
|
|
</verify>
|
|
</testcase>
|