curl-curl/tests/data/test378
Viktor Szakats 403a2c2b06
tests: shorten space and tab macro names
Easier to write and read.

Follow-up to d29f14b9cf #19300

Closes #19349
2025-11-05 15:59:43 +01:00

37 lines
528 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%SP
Warning: (-T, --upload-file) and POST (-d, --data).
</stderr>
</verify>
</testcase>