curl/tests/data/test502
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

48 lines
534 B
Plaintext

<testcase>
<info>
<keywords>
FILE
</keywords>
</info>
#
# Server-side
<reply>
<data>
foo
bar swsclose
bar
foo
moo
</data>
</reply>
# Client-side
<client>
<server>
file
</server>
# tool is what to use instead of 'curl'
<tool>
lib%TESTNUMBER
</tool>
<name>
simple multi file:// get
</name>
<command>
file://%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command>
<file name="%LOGDIR/test%TESTNUMBER.txt">
foo
bar swsclose
bar
foo
moo
</file>
</client>
# Verify data after the test has been "shot"
<verify>
</verify>
</testcase>