2017-03-11 17:59:34 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
--write-out
|
2017-03-13 06:23:31 +08:00
|
|
|
FILE
|
2017-03-11 17:59:34 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
file
|
|
|
|
</server>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
Check --write-out with trailing %{
|
|
|
|
</name>
|
|
|
|
<command>
|
2017-03-13 06:23:31 +08:00
|
|
|
file://localhost/%PWD/log/non-existent-file.txt --write-out '%{'
|
2017-03-11 17:59:34 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data
|
|
|
|
<verify>
|
2017-03-13 06:23:31 +08:00
|
|
|
<errorcode>
|
|
|
|
37
|
|
|
|
</errorcode>
|
2017-03-11 17:59:34 +08:00
|
|
|
<stdout nonewline="yes">
|
|
|
|
%{
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|