1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 22:15:13 -05:00
curl/tests/data/test1445
Marcel Raad d81dbae19f
tests: use %FILE_PWD for file:// URLs
This way, we always have exactly one slash after the host name, making
the tests pass when curl is compiled with the MSYS GCC.

Closes https://github.com/curl/curl/pull/4512
2019-10-21 17:28:48 +02:00

36 lines
598 B
Plaintext

<testcase>
<info>
<keywords>
FILE
--remote-time
</keywords>
</info>
<reply>
</reply>
# Client-side
<client>
<server>
file
</server>
<precheck>
perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test1445.dir
</precheck>
<name>
file:// with --remote-time
</name>
<command>
file://localhost%FILE_PWD/log/test1445.dir/plainfile.txt --remote-time
</command>
<postcheck>
perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test1445.dir && \
perl -e 'exit((stat("log/curl1445.out"))[9] != 946728000)'
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
</verify>
</testcase>