2018-08-15 15:17:43 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
warning
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
2018-08-22 18:26:21 +08:00
|
|
|
<features>
|
|
|
|
unix-sockets
|
|
|
|
</features>
|
2018-08-15 15:17:43 +08:00
|
|
|
<name>
|
|
|
|
file name argument looks like a flag
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
--stderr log/moo%TESTNUMBER --unix-socket -k hej://moo
|
2018-08-15 15:17:43 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
<verify>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/moo%TESTNUMBER" mode="text">
|
2018-08-15 15:17:43 +08:00
|
|
|
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>
|