aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1445
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-04-29 10:16:06 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-04-29 10:16:06 +0200
commit584142892f7d5fb3100f3c0ef8e479d472b8c3c7 (patch)
tree95162e0852a9c8e7cd62698960d09cdb5501a926 /tests/data/test1445
parent2ce86d8509fa49d371af60d26bd934f90b99aeff (diff)
tests: added --remote-time tests for remaining protocols that support it
Diffstat (limited to 'tests/data/test1445')
-rw-r--r--tests/data/test144535
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/test1445 b/tests/data/test1445
new file mode 100644
index 000000000..f60483dcd
--- /dev/null
+++ b/tests/data/test1445
@@ -0,0 +1,35 @@
+<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/%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>