test1445 626 B

1234567891011121314151617181920212223242526272829303132333435
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FILE
  5. --remote-time
  6. </keywords>
  7. </info>
  8. <reply>
  9. </reply>
  10. # Client-side
  11. <client>
  12. <server>
  13. file
  14. </server>
  15. <precheck>
  16. perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
  17. </precheck>
  18. <name>
  19. file:// with --remote-time
  20. </name>
  21. <command>
  22. file://localhost%FILE_PWD/log/test%TESTNUMBER.dir/plainfile.txt --remote-time
  23. </command>
  24. <postcheck>
  25. perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir && \
  26. perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 946728000)'
  27. </postcheck>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. </verify>
  32. </testcase>