curl-curl/tests/data/test1445
Viktor Szakats 2d2d70b6e5
test613.pl: integrate mtime check for test 1445, 1446
Move check logic from postchecks to `test613.pl`.

To make these test data files XML-compliant.
Also to avoid POSIX/bash-shellisms in postcheck.

Closes #19766
2025-11-30 11:01:50 +01:00

35 lines
604 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/%LOGDIR/test%TESTNUMBER.dir
</precheck>
<name>
file:// with --remote-time
</name>
<command>
file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt --remote-time
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<postcheck>
%PERL %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %LOGDIR/curl%TESTNUMBER.out 946728000
</postcheck>
</verify>
</testcase>