mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
42 lines
599 B
Plaintext
42 lines
599 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
warning
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
unix-sockets
|
|
</features>
|
|
<name>
|
|
file name argument looks like a flag
|
|
</name>
|
|
<command>
|
|
--stderr log/moo%TESTNUMBER --unix-socket -k hej://moo
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
<file name="log/moo%TESTNUMBER" mode="text">
|
|
Warning: The file name argument '-k' looks like a flag.
|
|
curl: (1) Protocol "hej" not supported or disabled in libcurl
|
|
</file>
|
|
|
|
# we expect an error since we provide a weird URL
|
|
<errorcode>
|
|
1
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|