curl/tests/data/test1440
Viktor Szakats f6cb707b6a
tests: replace %PWD with %FILE_PWD for file://
Before this patch not all tests used `%FILE_PWD` with the `file://`
protocol.

Keep `%PWD` for test1145, to keep it fail on Windows like the test
expects.

Cherry-picked from #14949

Closes #15090
2024-09-30 23:48:00 +02:00

36 lines
413 B
Plaintext

<testcase>
<info>
<keywords>
--write-out
FILE
</keywords>
</info>
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
file
</server>
<name>
Check --write-out with trailing %{
</name>
<command>
file://localhost/%FILE_PWD/%LOGDIR/non-existent-file.txt --write-out '%{'
</command>
</client>
# Verify data
<verify>
<errorcode>
37
</errorcode>
<stdout nonewline="yes">
%{
</stdout>
</verify>
</testcase>